(file: string)
| 2084 | // a runtime module naming an issue feature, whose reads of it the build |
| 2085 | // writes once it has read the program |
| 2086 | const readsIssueFeatures = (file: string): boolean => { |
| 2087 | if (!issueFeatureReader.test(file)) return false |
| 2088 | // as its file has it: what a cache kept of an earlier build names none |
| 2089 | const code = readFile(file) |
| 2090 | return code !== undefined && namesIssueFeature(code) |
| 2091 | } |
| 2092 | |
| 2093 | const isScriptModule = ({ type }: { type?: string }) => |
| 2094 | type?.startsWith("javascript/") ?? true |
no test coverage detected