Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest zsh-compatible rake syntax #166

Merged
merged 2 commits into from
Jul 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Shopif
To contribute a new cop, please use the supplied generator like this:

```sh
bundle exec rake new_cop[Sorbet/NewCopName]
bundle exec rake "new_cop[Sorbet/NewCopName]"
```

which will create a skeleton cop, a skeleton spec, an entry in the default config file and will require the new cop so that it is properly exported from the gem.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ task :new_cop, [:cop] do |_task, args|
require "rubocop"

cop_name = args.fetch(:cop) do
warn("usage: bundle exec rake new_cop[Department/Name]")
warn('usage: bundle exec rake "new_cop[Department/Name]"')
exit!
end