(filePath: string)
| 564 | } |
| 565 | |
| 566 | export function checkFileExistsSync(filePath: string): boolean { |
| 567 | try { |
| 568 | return fs.statSync(filePath).isFile(); |
| 569 | } catch { |
| 570 | return false; |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | export function checkExecutableWithoutExtensionExistsSync(filePath: string): boolean { |
| 575 | if (checkFileExistsSync(filePath)) { |
no test coverage detected