From 03ca592ccf685e46827c708767280024ebd306c7 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 1 Sep 2020 13:52:35 -0700 Subject: [PATCH] Update Rakefile Signed-off-by: Tim Smith Co-authored-by: pete higgins --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 3275155..82c1eb0 100644 --- a/Rakefile +++ b/Rakefile @@ -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}