summaryrefslogtreecommitdiffstats
path: root/lib/generators/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-27 12:17:20 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-27 12:17:20 +0100
commit742439517181811c66377e5649c4e72840cfe7d0 (patch)
tree2fabae96de8e7ca413930645d30681ed4e0e3643 /lib/generators/website.js
parent6125df58340456529cfb180cc62308cc00e4e769 (diff)
downloadgitbook-742439517181811c66377e5649c4e72840cfe7d0.zip
gitbook-742439517181811c66377e5649c4e72840cfe7d0.tar.gz
gitbook-742439517181811c66377e5649c4e72840cfe7d0.tar.bz2
Fix invalid log call in website generator
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r--lib/generators/website.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
index 08950c8..4b7595a 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -81,7 +81,7 @@ Generator.prototype.prepareTemplateEngine = function() {
.value();
if (!_.contains(_.keys(locales), language) && language != "en") {
- that.book.logWarn("Language '"+language+"' is not available as a layout locales (en, "+_.keys(locales).join(", ")+")");
+ that.book.log.warn.ln("Language '"+language+"' is not available as a layout locales (en, "+_.keys(locales).join(", ")+")");
}
var folders = _.chain(that.templates)