From 93a20fe81766314c1b36b232a98fa91246959994 Mon Sep 17 00:00:00 2001 From: sue445 Date: Mon, 3 Jan 2022 20:10:23 +0900 Subject: [PATCH] Fixed. `rake new_cop` doesn't work since rubocop 1.22.0 --- Rakefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index c168ccf9..b23f58f3 100644 --- a/Rakefile +++ b/Rakefile @@ -24,10 +24,7 @@ task :new_cop, [:cop] do |_task, args| exit! end - github_user = `git config github.user`.chop - github_user = "your_id" if github_user.empty? - - generator = RuboCop::Cop::Generator.new(cop_name, github_user) + generator = RuboCop::Cop::Generator.new(cop_name) generator.write_source generator.write_spec