Skip to content
Snippets Groups Projects
Commit 90aec15e authored by Robert Speicher's avatar Robert Speicher
Browse files

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

Remove parser warnings workaround

See merge request gitlab-org/gitlab-ce!17901
parents 40c338a4 5eb92882
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment