lib/scss_lint/linter_registry.rb in scss-lint-0.6.6 vs lib/scss_lint/linter_registry.rb in scss-lint-0.6.7
- old
+ new
@@ -13,10 +13,10 @@
def extract_linters_from(linter_names)
linter_names.map do |linter_name|
begin
linter_class = linter_name.split('_').map(&:capitalize).join('')
- Kernel.const_get(linter_class)
+ Linter.const_get(linter_class)
rescue NameError
raise NoSuchLinter.new("Linter #{linter_class} does not exist")
end
end
end