overcommit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/overcommit/git_hook.rb +3 -1
- data/lib/overcommit/version.rb +1 -1
- metadata +1 -1
data/lib/overcommit/git_hook.rb
CHANGED
@@ -73,7 +73,9 @@ module Overcommit
|
|
73
73
|
def run_and_filter_check(check)
|
74
74
|
status, output = check.run_check
|
75
75
|
|
76
|
-
|
76
|
+
output = output.to_s
|
77
|
+
|
78
|
+
unless output.empty?
|
77
79
|
check.staged.each do |staged_file|
|
78
80
|
output = staged_file.filter_string(output)
|
79
81
|
end
|
data/lib/overcommit/version.rb
CHANGED