(e)
| 167 | const stats = statSync(entryPoint, { throwIfNoEntry: false }); |
| 168 | |
| 169 | const onError = (e) => { |
| 170 | console.log(USAGE_STR); |
| 171 | console.error(e); |
| 172 | process.exitCode = 1; |
| 173 | }; |
| 174 | if (stats?.isDirectory()) { |
| 175 | SPAWN_OPTIONS.cwd = entryPoint; |
| 176 | checkFiles(...findScriptFilesRecursively(entryPoint)).catch(onError); |
no test coverage detected
searching dependent graphs…