summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-20 00:06:45 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-20 00:06:45 +0200
commitecaadf63c5e29ee1c62058de486253cb10aadae0 (patch)
treec70da77806934bdf33f4de62327e66a6d37df527 /lib/output/base.js
parentd490a6e0b4e5e4d714c3ede6aa5b3897d169462d (diff)
downloadgitbook-ecaadf63c5e29ee1c62058de486253cb10aadae0.zip
gitbook-ecaadf63c5e29ee1c62058de486253cb10aadae0.tar.gz
gitbook-ecaadf63c5e29ee1c62058de486253cb10aadae0.tar.bz2
Correctly ignore structure file (only in root folder)
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index c546061..117fd4c 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -158,11 +158,11 @@ Output.prototype.prepare = function() {
'_layouts',
// The configuration file should not be copied in the output
- this.book.config.path,
+ '/' + this.book.config.path,
// Structure file to ignore
- this.book.summary.path,
- this.book.langs.path
+ '/' + this.book.summary.path,
+ '/' + this.book.langs.path
]));
};