(binPath: string, binArgs: string[], customScript: CustomScript | undefined)
| 131 | } |
| 132 | |
| 133 | export function usingCustomScript(binPath: string, binArgs: string[], customScript: CustomScript | undefined): ExecutionInfo { |
| 134 | if (customScript?.script) { |
| 135 | binPath = customScript.script; |
| 136 | if (customScript.replacesArgs) |
| 137 | binArgs = binArgs.slice(customScript.replacesArgs); |
| 138 | } |
| 139 | |
| 140 | return { executable: binPath, args: binArgs }; |
| 141 | } |
| 142 | |
| 143 | export function errorString(error: any): string { |
| 144 | if (!error) |
no outgoing calls
no test coverage detected