(outDir: string)
| 31 | }); |
| 32 | |
| 33 | const getDocShotRefs = (outDir: string): string[] => { |
| 34 | const shotDir = join(outDir, DOC_SHOT_DIR); |
| 35 | if (!existsSync(shotDir)) { |
| 36 | return []; |
| 37 | } |
| 38 | const refs: string[] = []; |
| 39 | forEachDeepFile(shotDir, (filePath) => { |
| 40 | refs.push(relative(shotDir, filePath).replaceAll('\\', '/')); |
| 41 | }); |
| 42 | return refs.sort((a, b) => b.length - a.length); |
| 43 | }; |
| 44 | |
| 45 | const syncPublishedDocShots = (outDir: string): void => { |
| 46 | const shotDir = join(outDir, DOC_SHOT_DIR); |
no test coverage detected
searching dependent graphs…