Merge pull request #4222 from reitermarkus/silence-parser-compatibility

Silence `Parser` compatibility warning.
This commit is contained in:
Mike McQuaid 2018-05-28 20:25:43 +01:00 committed by GitHub
commit a276a48253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,12 @@
require "parser/current"
# Silence compatibility warning.
begin
old_verbosity = $VERBOSE
$VERBOSE = nil
require "parser/current"
ensure
$VERBOSE = old_verbosity
end
require_relative "../../extend/string"
module RuboCop