diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-18 17:03:37 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-18 17:03:37 +0100 |
commit | 95d81d02a12dc6ae5e9d845e2eb69b7e1dc1debd (patch) | |
tree | 2d13fc184bab0fb037f056a8d820a765e0183efb /lib/cli/index.js | |
parent | 8401a674c382cd1c7ca6c6a02e4def3d237c9734 (diff) | |
download | gitbook-95d81d02a12dc6ae5e9d845e2eb69b7e1dc1debd.zip gitbook-95d81d02a12dc6ae5e9d845e2eb69b7e1dc1debd.tar.gz gitbook-95d81d02a12dc6ae5e9d845e2eb69b7e1dc1debd.tar.bz2 |
Fix resolve of images
Diffstat (limited to 'lib/cli/index.js')
-rw-r--r-- | lib/cli/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cli/index.js b/lib/cli/index.js index 0492c29..07c4888 100644 --- a/lib/cli/index.js +++ b/lib/cli/index.js @@ -94,7 +94,7 @@ module.exports = { helper.options.log ], exec: function(args, kwargs) { - var input = args[0] || process.cwd(); + var input = path.resolve(args[0] || process.cwd()); var server = new Server(); // Init livereload server |