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
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-10-18 18:10:50 +0300
committerRobert Speicher <robert@gitlab.com>2018-10-18 18:10:50 +0300
commitdfee19c42a26a49ce45a2a7207fcec46c2c19002 (patch)
tree54b60548bcd5c66659a5a2ce8afd914b17b9ffec /lib
parentc4d5d8cb64b52a1cdbc3861478e5b30a1e7199f4 (diff)
parent6683aa8b1073eb56c99343dafab11b2e65375a04 (diff)
Merge branch 'bw-fix-hamllint' into 'master'
Multiple spring rake commands cause "NameError: uninitialized constant HamlLint::Linter" Closes #52843 See merge request gitlab-org/gitlab-ce!22437
Diffstat (limited to 'lib')
-rw-r--r--lib/haml_lint/inline_javascript.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/haml_lint/inline_javascript.rb b/lib/haml_lint/inline_javascript.rb
index 5ecd6169ecf..2e98227a05e 100644
--- a/lib/haml_lint/inline_javascript.rb
+++ b/lib/haml_lint/inline_javascript.rb
@@ -2,9 +2,9 @@
# frozen_string_literal: true
unless Rails.env.production?
- require 'haml_lint/haml_visitor'
- require 'haml_lint/linter'
- require 'haml_lint/linter_registry'
+ require_dependency 'haml_lint/haml_visitor'
+ require_dependency 'haml_lint/linter'
+ require_dependency 'haml_lint/linter_registry'
module HamlLint
class Linter::InlineJavaScript < Linter