Merge branch 'remove-parser-warnings-workaround' into 'master'

Remove parser warnings workaround

See merge request gitlab-org/gitlab-ce!17901
This commit is contained in:
Robert Speicher 2018-03-21 16:16:42 +00:00
commit 90aec15e35
1 changed files with 0 additions and 9 deletions

View File

@ -2,14 +2,5 @@ unless Rails.env.production?
require 'haml_lint/rake_task'
require 'haml_lint/inline_javascript'
# Workaround for warnings from parser/current
# TODO: Remove this after we update parser gem
task :haml_lint do
require 'parser'
def Parser.warn(*args)
puts(*args) # static-analysis ignores stdout if status is 0
end
end
HamlLint::RakeTask.new
end