Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-03-21 19:16:42 +0300
committerRobert Speicher <robert@gitlab.com>2018-03-21 19:16:42 +0300
commit90aec15e3599a4816779a6cd3c19743044f5fb38 (patch)
tree1d64830474340953e2e663871e8da24bb58f1f11
parent40c338a4bbcfbcb1da0a54acfdf730f6bae6763f (diff)
parent5eb92882802afcc14c69e4621b2ac0ff73a22bea (diff)
Merge branch 'remove-parser-warnings-workaround' into 'master'
Remove parser warnings workaround See merge request gitlab-org/gitlab-ce!17901
-rw-r--r--lib/tasks/haml-lint.rake9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/tasks/haml-lint.rake b/lib/tasks/haml-lint.rake
index 5c0cc4990fc..ad2d034b0b4 100644
--- a/lib/tasks/haml-lint.rake
+++ b/lib/tasks/haml-lint.rake
@@ -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