(filePath: string)
| 67 | * Returns whether a resolved executable should be invoked through Node. |
| 68 | */ |
| 69 | export function isNodeScript(filePath: string): boolean { |
| 70 | return ['.js', '.cjs', '.mjs'].includes(path.extname(filePath)); |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Returns whether `child` is equal to or nested below `parent`. |
no outgoing calls
no test coverage detected