Fix cache manifest generation

This commit is contained in:
Samy Pessé
2014-05-25 20:47:56 +02:00
parent c1b57a387b
commit 38cbbe46aa
+2 -2
View File
@@ -240,8 +240,8 @@ Generator.prototype.writeCacheManifest = function() {
Generator.prototype.finish = function() {
var deferred = this.copyAssets().then(this.writeSearchIndex);
if (this.options.cache) {
deferred = deferred.then(this.writeCacheManifest);
if (this.options.cache !== false) {
deferred = deferred.then(this.writeCacheManifest);
}
return deferred;