Skip to content

Show a more meaningful error message when rake isolate is called without a filename#1725

Open
dgmstuart wants to merge 1 commit into
imathis:masterfrom
dgmstuart:rake_isolate_error
Open

Show a more meaningful error message when rake isolate is called without a filename#1725
dgmstuart wants to merge 1 commit into
imathis:masterfrom
dgmstuart:rake_isolate_error

Conversation

@dgmstuart

Copy link
Copy Markdown

When calling rake isolate without a filename the following error is displayed, followed by a stacktrace:

rake aborted!
TypeError: no implicit conversion of nil into String

This PR adds a more meaningful message:

>>> !! Please provide a filename, eg. rake isolate[my_post]

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