Skip to content

Commit

Permalink
Update Rakefile
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
Co-authored-by: pete higgins <[email protected]>
  • Loading branch information
tas50 and phiggins committed Sep 1, 2020
1 parent d2f5ccf commit 03ca592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task :vendor do

require "rubocop"
require "yaml" unless defined?(YAML)
cfg = RuboCop::Cop::Cop.all.each_with_object({}) { |cop, acc| acc[cop.cop_name] = { "Enabled" => false } unless cop.cop_name.start_with?("Chef"); }
cfg = RuboCop::Cop::Cop.all.each_with_object({}) { |cop, acc| acc[cop.cop_name] = { "Enabled" => false } unless cop.cop_name.start_with?("Chef") }
File.open(dst.join("disable_all.yml"), "w") { |fh| fh.write cfg.to_yaml }

sh %{git add #{dst}/{upstream,disable_all}.yml}
Expand Down

0 comments on commit 03ca592

Please sign in to comment.