diff options
author | Soreine <nicolas@gitbook.com> | 2016-06-10 15:39:00 +0200 |
---|---|---|
committer | Soreine <nicolas@gitbook.com> | 2016-06-10 15:40:51 +0200 |
commit | b9fe60915f8555fb339a8e736a0b1fa604738364 (patch) | |
tree | 56ce8c4811153283571a20afaff16aef3aa14fac /lib/parse | |
parent | 1bf7d092f0c6e4a24359219048831c81de4b2b39 (diff) | |
download | gitbook-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.js | 2 |
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) { |