Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore warnings along with infos

  • Loading branch information...
commit fad8c86cfdeabd2673b790d8eb0db93f0cf81a7f 1 parent 7b3f9be
@andrusha andrusha authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ruby_tika_app.rb
View
2  lib/ruby_tika_app.rb
@@ -74,7 +74,7 @@ def run_tika(option)
end
def strip_stderr(s)
- s.gsub(/^info - .*$/i, '').strip
+ s.gsub(/^(info|warn) - .*$/i, '').strip
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.