summaryrefslogtreecommitdiffstats
path: root/lib/template.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template.js')
-rw-r--r--lib/template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template.js b/lib/template.js
index b4562b1..47244e4 100644
--- a/lib/template.js
+++ b/lib/template.js
@@ -23,7 +23,7 @@ var BookLoader = nunjucks.Loader.extend({
.then(function(filepath) {
// Is local file
if (!filepath) filepath = path.resolve(that.book.root, fileurl);
- else that.book.logDebug("resolve from git", fileurl, "to", filepath)
+ else that.book.log.debug.ln("resolve from git", fileurl, "to", filepath)
// Read file from absolute path
return fs.readFile(filepath)