diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-29 23:23:54 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-29 23:23:54 +0200 |
commit | faf18476b159c81959a9b79b14e15e296c2af2ed (patch) | |
tree | f356b47602ccdd3742585bba7301401dfc0d0cc4 /lib/parse | |
parent | 9acccad23add2670169652bd88e2045cb15ef6f7 (diff) | |
download | gitbook-faf18476b159c81959a9b79b14e15e296c2af2ed.zip gitbook-faf18476b159c81959a9b79b14e15e296c2af2ed.tar.gz gitbook-faf18476b159c81959a9b79b14e15e296c2af2ed.tar.bz2 |
Don't fail if page doesn't exist
Diffstat (limited to 'lib/parse')
-rw-r--r-- | lib/parse/parsePagesList.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parse/parsePagesList.js b/lib/parse/parsePagesList.js index 36fcdec..e356e88 100644 --- a/lib/parse/parsePagesList.js +++ b/lib/parse/parsePagesList.js @@ -28,6 +28,8 @@ function parsePagesList(book) { filepath, Page.createForFile(file) ); + }, function() { + // file doesn't exist }); }) .then(function() { |