Skip to content

Conversation

@squidpunch
Copy link

If you run rake spec files='blah' and blah does not exist you get an
undefined method on nil in spec.rb:506. This is an attempt to clarify
that the problem is likely that your provided pathname is incorrect.

After this patch, you get a message that can help the developer
understand the error easier. "Current context not set, perhaps there is
an error in the file names you provided? ( provided value in ENV['files'] )

If you run rake spec files='blah' and blah does not exist you get an
undefined method on nil in spec.rb:506.  This is an attempt to clarify
that the problem is likely that your provided pathname is incorrect.

After this patch, you get a message that can help the developer
understand the error easier. "Current context not set, perhaps there is
an error in the file names you provided? ( provided value in ENV['files'] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant