(done)
| 202 | } |
| 203 | |
| 204 | async function generateDocs (done) { |
| 205 | const all = (await import('file://' + REF_SRC + 'defaultInstance.js')).default |
| 206 | const functionNames = Object.keys(all) |
| 207 | .filter(key => typeof all[key] === 'function') |
| 208 | |
| 209 | if (functionNames.length === 0) { |
| 210 | throw new Error('No function names found, is the doc generator broken?') |
| 211 | } |
| 212 | |
| 213 | cleanup(REF_DEST, REF_ROOT) |
| 214 | iteratePath(functionNames, REF_SRC, REF_DEST, REF_ROOT) |
| 215 | |
| 216 | done() |
| 217 | } |
| 218 | |
| 219 | function generateEntryFilesCallback (done) { |
| 220 | generateEntryFiles().then(() => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…