summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-28 19:18:01 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-28 19:18:01 +0100
commitf95beed58bf1d7aa7bedff774ee054d1e35f0fc0 (patch)
tree53dcb322913d472dab1c81ac00d9dcb4e6c27bd4 /lib/index.js
parent4baaa41ac9a5ee16422bb922550bef7991026c9b (diff)
downloadgitbook-f95beed58bf1d7aa7bedff774ee054d1e35f0fc0.zip
gitbook-f95beed58bf1d7aa7bedff774ee054d1e35f0fc0.tar.gz
gitbook-f95beed58bf1d7aa7bedff774ee054d1e35f0fc0.tar.bz2
Fix log option to command line commands
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index febd11a..35322fb 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -126,7 +126,7 @@ module.exports = {
'config': {
'defaultsPlugins': ["livereload"]
},
- 'logLevel': Book.LOG_LEVELS[(kwargs.log).toUpperCase()]
+ 'logLevel': kwargs.log
}));
return book.parse()