Skip to content

Commit 0d79818

Browse files
jawshooahsds
authored andcommitted
Split file args for RuboCop hook
1 parent a14f446 commit 0d79818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/overcommit/hook/pre_commit/rubo_cop.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class RuboCop < Base
88
end
99

1010
def run
11-
result = execute(command + applicable_files)
11+
result = execute(command, args: applicable_files)
1212
return :pass if result.success?
1313

1414
extract_messages(

0 commit comments

Comments
 (0)