We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72324c commit eea73c9Copy full SHA for eea73c9
lib/overcommit/hook/pre_commit/credo.rb
@@ -8,7 +8,7 @@ class Credo < Base
8
# lib/file2.ex:12:81: R: Line is too long (max is 80, was 81).
9
10
def run
11
- result = execute command
+ result = execute(command, args: applicable_files)
12
return :pass if result.success?
13
14
result.stdout.split("\n").map(&:strip).reject(&:empty?).
0 commit comments