lib/scss_lint/config.rb in scss_lint-0.41.0 vs lib/scss_lint/config.rb in scss_lint-0.42.0
- old
+ new
@@ -154,10 +154,10 @@
if relative_include_path.start_with?('/')
relative_include_path
else
path = File.join(File.dirname(base_config_path), relative_include_path)
# Remove double backslashes appearing in Windows paths.
- path.gsub(%r{^//}, File::SEPARATOR)
+ path.sub(%r{^//}, File::SEPARATOR)
end
end
# For easy stubbing in tests
def load_file_contents(file)