(ext: string)
| 94 | } |
| 95 | |
| 96 | function rank(ext: string): number { |
| 97 | const e = ext.toLowerCase(); |
| 98 | if (e === '.exe' || e === '.com') return 0; |
| 99 | if (e === '.cmd' || e === '.bat') return 1; |
| 100 | return 2; |
| 101 | } |
no outgoing calls
no test coverage detected