diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-05-11 12:59:16 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-05-11 13:02:24 +0200 |
commit | d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c (patch) | |
tree | 3c140ee30aadb820e07003ef4ab6f89d42323ae1 /lib/parse/parseBook.js | |
parent | 0b4df4cdf2dc9ed18805358216439b595997fdc7 (diff) | |
download | gitbook-d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c.zip gitbook-d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c.tar.gz gitbook-d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c.tar.bz2 |
Add immutable ignore instance for book
Diffstat (limited to 'lib/parse/parseBook.js')
-rw-r--r-- | lib/parse/parseBook.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse/parseBook.js b/lib/parse/parseBook.js index 84a4038..a92f39e 100644 --- a/lib/parse/parseBook.js +++ b/lib/parse/parseBook.js @@ -42,7 +42,7 @@ function parseMultilingualBook(book) { .then(parseBookContent) .then(function(result) { // Ignore content of this book when generating parent book - ignore.add(langID + '/**'); + ignore = ignore.add(langID + '/**'); currentBook = currentBook.set('ignore', ignore); return currentBook.addLanguageBook(langID, result); |