Skip to content

Commit

Permalink
Update Rakefile
Browse files Browse the repository at this point in the history
igned-off-by: Tim Smith <tsmith@chef.io>

Co-authored-by: pete higgins <pete@peterhiggins.org>
  • Loading branch information
tas50 and phiggins authored Sep 1, 2020
1 parent d2f5ccf commit 1ddb54b
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 1ddb54b

Please sign in to comment.