(file, commandArguments, options, parentOptions)
| 13 | // When `options.isSync` is `true`, `execaSync()` is called instead. |
| 14 | // When `options.worker` is `true`, the whole flow happens inside a Worker. |
| 15 | export const nestedSubprocess = async (file, commandArguments, options, parentOptions) => { |
| 16 | const result = await nestedInstance(file, commandArguments, options, parentOptions); |
| 17 | const nestedResult = result.ipcOutput[0]; |
| 18 | return {...result, nestedResult}; |
| 19 | }; |
| 20 | |
| 21 | export const nestedInstance = (file, commandArguments, options, parentOptions) => { |
| 22 | [commandArguments, options = {}, parentOptions = {}] = Array.isArray(commandArguments) |
no test coverage detected
searching dependent graphs…