From 186a45a59d0dbb1ead72274b992cff8fe89f69cd Mon Sep 17 00:00:00 2001 From: Sang Huynh Date: Fri, 4 Aug 2023 14:38:22 +0700 Subject: [PATCH] [#417] Change deprecated option --- .template/hooks/before_complete/fix_rubocop.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.template/hooks/before_complete/fix_rubocop.rb b/.template/hooks/before_complete/fix_rubocop.rb index cba75fa80..3f852a0e3 100644 --- a/.template/hooks/before_complete/fix_rubocop.rb +++ b/.template/hooks/before_complete/fix_rubocop.rb @@ -10,7 +10,7 @@ def fixing_rubocop Layout/EmptyLineAfterMagicComment ].join(',') - run "rubocop --only #{cops} --auto-correct-all --out tmp/template_rubocop.txt" + run "rubocop --only #{cops} --autocorrect-all --out tmp/template_rubocop.txt" end end