(token: string)
| 156 | } |
| 157 | |
| 158 | function isPathLike(token: string) { |
| 159 | if (!token || isOptionToken(token)) { |
| 160 | return false; |
| 161 | } |
| 162 | if (GLOB_HINT_REGEX.test(token)) { |
| 163 | return false; |
| 164 | } |
| 165 | return PATH_HINT_REGEX.test(token) || PATHLIKE_REGEX.test(token); |
| 166 | } |
| 167 | |
| 168 | function collectNonFlagOperands(tokens: string[], commandName: string) { |
| 169 | const operands: string[] = []; |
no test coverage detected