lib/ruby2js.rb in ruby2js-2.0.17 vs lib/ruby2js.rb in ruby2js-2.0.18

- old
+ new

@@ -1,5 +1,13 @@ -require 'parser/current' +begin + # silence warnings, see + # https://github.com/bbatsov/rubocop/issues/1819#issuecomment-95280926 + old_verbose, $VERBOSE = $VERBOSE, nil + require 'parser/current' +ensure + $VERBOSE = old_verbose +end + require 'ruby2js/converter' module Ruby2JS class SyntaxError < RuntimeError end