()
| 65 | ]) |
| 66 | |
| 67 | export const staleHelixFiles = (): string[] => |
| 68 | [...helixOutputs()] |
| 69 | .filter(([path, contents]) => { |
| 70 | try { |
| 71 | return read(path) !== contents |
| 72 | } catch { |
| 73 | return true |
| 74 | } |
| 75 | }) |
| 76 | .map(([path]) => path) |
| 77 | |
| 78 | if (import.meta.main) { |
| 79 | if (process.argv.includes("--check")) { |
no test coverage detected