Skip to content

Commit ac4a6c4

Browse files
committed
A few more standardrb corrections
1 parent 0ddcdb1 commit ac4a6c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/cc/engine/category_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def category
2424
"Rails/HasAndBelongsToMany" => "Style",
2525
"Rails/TimeZone" => "Style",
2626
"Rails/Validation" => "Style",
27-
"Standard/SemanticBlocks" => "Style",
27+
"Standard/SemanticBlocks" => "Style"
2828
}.freeze
2929

3030
attr_reader :cop_name

lib/tasks/docs.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ namespace :docs do
3131

3232
def collect_standard_files
3333
`git clone https://github.com/testdouble/standard`
34-
FileUtils.cd('standard') do
34+
FileUtils.cd("standard") do
3535
`git checkout tags/v#{Standard::VERSION.version}`
3636
end
3737
Dir.glob("./standard/lib/standard/cop/**.rb")
3838
end
3939

4040
def collect_rubocop_files
4141
`git clone https://github.com/rubocop-hq/rubocop`
42-
FileUtils.cd('rubocop') do
42+
FileUtils.cd("rubocop") do
4343
`git checkout tags/v#{RuboCop::Version.version}`
4444
end
4545
Dir.glob("./rubocop/lib/rubocop/cop/{#{COP_FOLDERS.join(",")}}/**.rb")
4646
end
4747

4848
def collect_rubocop_performance_files
4949
`git clone https://github.com/rubocop-hq/rubocop-performance`
50-
FileUtils.cd('rubocop-performance') do
50+
FileUtils.cd("rubocop-performance") do
5151
`git checkout tags/v#{RuboCop::Performance::Version::STRING}`
5252
end
5353
Dir.glob("./rubocop-performance/lib/rubocop/cop/performance/**.rb")

0 commit comments

Comments
 (0)