lib/polymer/cli.rb in polymer-1.0.0.beta.5 vs lib/polymer/cli.rb in polymer-1.0.0.beta.6
- old
+ new
@@ -81,13 +81,10 @@
if deviants = DeviantFinder.find_deviants(sprite)
say DeviantFinder.format_ui_message(sprite, deviants)
end
end
- # Clean up the cache, removing sprites which no longer exist.
- project.cache.clean!(project)
-
# Finish by writing the new cache.
project.cache.write
rescue Polymer::MissingSource, Polymer::TargetNotWritable => e
say e.message.compress_lines, :red
@@ -232,10 +229,10 @@
run_optimisation(path, relative)
cache.set(relative)
end
end
- cache.clean!(project) if project
+ cache.clean! if project
cache.write
end
# --- position -----------------------------------------------------------