You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.
I get TypeError: can't dup NilClass when doing Cocaine::CommandLine.new('some command', nil).run
Could we have an error message that's more descriptive like a Cocaine error that says "nil is not a valid argument"?
The text was updated successfully, but these errors were encountered:
jyurek
pushed a commit
to thoughtbot/terrapin
that referenced
this issue
Feb 2, 2018
`Terrapin::CommandLine.new` had a defualt 2nd and 3rd argument of "" and {},
respectively. But if you explicitly pass in `nil`, then you'll get an error
because `#dup` isn't on `nil`. It's not immediately appareny why you get this
error, so this change makes it so that we tell you.
Fixesthoughtbot/cocaine#98
I get
TypeError: can't dup NilClass
when doingCocaine::CommandLine.new('some command', nil).run
Could we have an error message that's more descriptive like a Cocaine error that says "nil is not a valid argument"?
The text was updated successfully, but these errors were encountered: