(value: string)
| 78 | |
| 79 | const shellTokens = (command: string) => command.match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g) ?? [] |
| 80 | const unquote = (value: string) => value.replace(/^(['"])(.*)\1$/, "$2") |
| 81 | const externalCommandDirectories = (command: string, cwd: string) => { |
| 82 | const directories = new Set<string>() |
| 83 | for (const token of shellTokens(command)) { |
no outgoing calls
no test coverage detected