lib/bankai/generators/lint_generator.rb in bankai-0.9.0 vs lib/bankai/generators/lint_generator.rb in bankai-0.9.1

- old
+ new

@@ -13,18 +13,18 @@ def configure_rubocop template 'rubocop.yml.erb', '.rubocop.yml' end def install_overcommit - in_root { run 'bundle exec overcommit --install' } + execute_command :bundle, 'exec overcommit --install' end def rubocop_autocorrect - in_root { run 'bundle exec rubocop --auto-correct-all' } + execute_command :bundle, 'exec rubocop --auto-correct-all' end def rubocop_todo - in_root { run 'bundle exec rubocop --auto-gen-config' } + execute_command :bundle, 'exec rubocop --auto-gen-config' end end end end