overcommit 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,9 @@ module Overcommit
73
73
  def run_and_filter_check(check)
74
74
  status, output = check.run_check
75
75
 
76
- if output && !output.empty?
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
@@ -1,3 +1,3 @@
1
1
  module Overcommit
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overcommit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: