* @return {Promise }
()
| 31 | * @return {Promise<string[]>} |
| 32 | */ |
| 33 | async function getPathsFromIgnoreList() { |
| 34 | const [, below] = splitIgnoreListByHeader( |
| 35 | await fs.readFile(ignoreFile, 'utf8') |
| 36 | ); |
| 37 | return ( |
| 38 | below |
| 39 | .split('\n') |
| 40 | // Comments and empty lines |
| 41 | .filter((line) => line.trim().length > 0 && !line.startsWith('#')) |
| 42 | .map((line) => gitignoreToGlobPattern(line)) |
| 43 | ); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Cleans up various cache and output directories. Optionally cleans up inner |
no test coverage detected