summaryrefslogtreecommitdiffstats
path: root/lib/parse
diff options
context:
space:
mode:
authorSoreine <nicolas@gitbook.com>2016-06-10 15:39:00 +0200
committerSoreine <nicolas@gitbook.com>2016-06-10 15:40:51 +0200
commitb9fe60915f8555fb339a8e736a0b1fa604738364 (patch)
tree56ce8c4811153283571a20afaff16aef3aa14fac /lib/parse
parent1bf7d092f0c6e4a24359219048831c81de4b2b39 (diff)
downloadgitbook-b9fe60915f8555fb339a8e736a0b1fa604738364.zip
gitbook-b9fe60915f8555fb339a8e736a0b1fa604738364.tar.gz
gitbook-b9fe60915f8555fb339a8e736a0b1fa604738364.tar.bz2
Add tests for insertPart
Diffstat (limited to 'lib/parse')
-rw-r--r--lib/parse/lookupStructureFile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse/lookupStructureFile.js b/lib/parse/lookupStructureFile.js
index d4a8f02..36b37f8 100644
--- a/lib/parse/lookupStructureFile.js
+++ b/lib/parse/lookupStructureFile.js
@@ -6,7 +6,7 @@ var findParsableFile = require('./findParsableFile');
@param {Book} book
@param {String} type: one of ["glossary", "readme", "summary", "langs"]
- @return {Promise<File>} The path of the file found, relative
+ @return {Promise<File | Undefined>} The path of the file found, relative
to the book content root.
*/
function lookupStructureFile(book, type) {