diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-24 18:12:23 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-24 18:12:23 +0100 |
commit | 4499f71dba79447871ed1ae34a4efd9c65fc3f78 (patch) | |
tree | ad494453c0238a232f15c08185faa3bbfb07bcc4 | |
parent | 81b734c151d9b1b0150fec82ef9d73490a6c7ca5 (diff) | |
download | gitbook-4499f71dba79447871ed1ae34a4efd9c65fc3f78.zip gitbook-4499f71dba79447871ed1ae34a4efd9c65fc3f78.tar.gz gitbook-4499f71dba79447871ed1ae34a4efd9c65fc3f78.tar.bz2 |
Improve log when generation is finished
-rw-r--r-- | lib/book.js | 1 | ||||
-rw-r--r-- | lib/output/base.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/book.js b/lib/book.js index 5fa3075..ef54a1b 100644 --- a/lib/book.js +++ b/lib/book.js @@ -50,7 +50,6 @@ function Book(opts) { this.parent = opts.parent; if (this.parent) { this.language = path.relative(this.parent.root, this.root); - console.log(this.language); } // A book is linked to an fs, to access its content diff --git a/lib/output/base.js b/lib/output/base.js index 6be06f8..6662443 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -122,7 +122,7 @@ Output.prototype.generate = function() { .then(function() { if (!that.book.isLanguageBook()) that.log.info.ln(''); - that.log.info.ln('generation finished with success!'); + that.log.info.ok('generation finished with success!'); }); }; |