lib/scss_lint/config.rb in scss_lint-0.50.0 vs lib/scss_lint/config.rb in scss_lint-0.50.1
- old
+ new
@@ -302,10 +302,10 @@
@options['exclude'] << abs_path
end
# @return Array
def scss_files
- if path = @options['scss_files'] && Array(path).any?
+ if (path = @options['scss_files']) && Array(path).any?
Array(path).map { |p| Dir[p] }.flatten.uniq
else
[]
end
end