diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-24 18:07:17 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-24 18:07:17 +0100 |
commit | 0b4a6b5362795f25594aabb458378df1599e4dbd (patch) | |
tree | f5511e33d640cd9493363414907f4e524b1e6029 /lib/cli/index.js | |
parent | 3a0636046ea0b9bc898438d502e3bf80f6c4d312 (diff) | |
download | gitbook-0b4a6b5362795f25594aabb458378df1599e4dbd.zip gitbook-0b4a6b5362795f25594aabb458378df1599e4dbd.tar.gz gitbook-0b4a6b5362795f25594aabb458378df1599e4dbd.tar.bz2 |
Output folder is an option for FolderOutput
Diffstat (limited to 'lib/cli/index.js')
-rw-r--r-- | lib/cli/index.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/cli/index.js b/lib/cli/index.js index 05f97b0..33df69f 100644 --- a/lib/cli/index.js +++ b/lib/cli/index.js @@ -64,11 +64,6 @@ module.exports = { exec: helper.outputCmd(function(output, args, kwargs) { return output.book.parse() .then(function() { - // Set output folder - if (args[0]) { - output.book.config.set('output', path.resolve(process.cwd(), args[0])); - } - return output.generate(); }); }) |