Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean precompiled assets before precompiling and check if array is em…
…pty before compiling
  • Loading branch information
fgrehm committed May 20, 2012
1 parent 4ad2a45 commit e0c7d0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/harbor/commands/assets.rb
Expand Up @@ -16,4 +16,7 @@
end
end

config.assets.manifest.compile(config.assets.precompiled_assets)
config.asset.manifest.clean
unless config.assets.precompiled_assets.empty?
config.assets.manifest.compile(config.assets.precompiled_assets)
end

0 comments on commit e0c7d0a

Please sign in to comment.