(candidate: string)
| 587 | } |
| 588 | |
| 589 | function isCommandFile(candidate: string): boolean { |
| 590 | try { |
| 591 | const stat = fs.statSync(candidate); |
| 592 | return stat.isFile(); |
| 593 | } catch { |
| 594 | return false; |
| 595 | } |
| 596 | } |
no outgoing calls
no test coverage detected