summaryrefslogtreecommitdiffstats
path: root/lib/generate/site/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r--lib/generate/site/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index bd1da53..73765ae 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -202,12 +202,12 @@ Generator.prototype.copyAssets = function() {
return plugin.copyAssets(pluginAssets)
.then(function(copiedStuff) {
// Nothing was copied
- if(!copiedStuff) return;
+ if(!copiedStuff) { return; }
return that.manifest.addFolder(pluginAssets, "gitbook/plugins/"+plugin.name);
});
})
);
- })
+ });
};
// Dump search index to disk