diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-21 23:03:09 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-21 23:03:09 +0100 |
commit | a492c66321e4b32d77e0d5d6456c3a266c75111d (patch) | |
tree | 4abc9dacdad6855fc55228239e2faa949b2ed729 /lib/generator.js | |
parent | 85930161f7a32c6c5c7de82a47554ed2855c14df (diff) | |
download | gitbook-a492c66321e4b32d77e0d5d6456c3a266c75111d.zip gitbook-a492c66321e4b32d77e0d5d6456c3a266c75111d.tar.gz gitbook-a492c66321e4b32d77e0d5d6456c3a266c75111d.tar.bz2 |
Copy files from book to output
Add test for personalised styles
Diffstat (limited to 'lib/generator.js')
-rw-r--r-- | lib/generator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generator.js b/lib/generator.js index a16af16..ab45987 100644 --- a/lib/generator.js +++ b/lib/generator.js @@ -46,7 +46,7 @@ BaseGenerator.prototype.writeParsedFile = function(page, input) { // Copy file to the output (non parsable) BaseGenerator.prototype.transferFile = function(input) { return fs.copy( - path.join(this.options.input, input), + path.join(this.book.root, input), path.join(this.options.output, input) ); }; |