(file: string)
| 858 | } |
| 859 | |
| 860 | export function isExecutable(file: string): Promise<boolean> { |
| 861 | return pathAccessible(file, fs.constants.X_OK); |
| 862 | } |
| 863 | |
| 864 | export async function allowExecution(file: string): Promise<void> { |
| 865 | if (process.platform !== 'win32') { |
no test coverage detected