lib/discourse_theme/watcher.rb in discourse_theme-0.1.1 vs lib/discourse_theme/watcher.rb in discourse_theme-0.1.2
- old
+ new
@@ -38,16 +38,14 @@
name = File.expand_path(path)[dir_len + 1..-1]
target, file = name.split("/")
if ["common", "desktop", "mobile"].include?(target)
- if file = "#{target}.scss"
+ if file == "#{target}.scss"
# a CSS file
return [target, "scss", 1]
end
end
nil
end
-
-
end