Skip to content

Commit

Permalink
[Fix #9124] Update example for rubocop -V of issue template
Browse files Browse the repository at this point in the history
Fixes #9124.

This PR updates example for `rubocop -V` of issue template.
  • Loading branch information
koic authored and bbatsov committed Nov 30, 2020
1 parent 701468b commit 708e46e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -32,9 +32,13 @@ a problem will expedite its solution.

## RuboCop version

Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler. Here's an example:
Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler.
If you see extension cop versions (e.g. `rubocop-performance`, `rubocop-rspec`, and others)
output by `rubocop -V`, include them as well. Here's an example:

```
$ [bundle exec] rubocop -V
1.4.2 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
- rubocop-performance 1.9.1
- rubocop-rspec 2.0.0
```
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -18,6 +18,8 @@ do so.
```
$ rubocop -V
1.4.2 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
- rubocop-performance 1.9.1
- rubocop-rspec 2.0.0
```

* Include any relevant code to the issue summary.
Expand Down

0 comments on commit 708e46e

Please sign in to comment.