(file, commandArguments, options)
| 7 | // For example, this allows us to easily detect which arguments are passed. |
| 8 | // So we do want users to pass array of arguments even with `shell: true`, but we also want to avoid any warning. |
| 9 | export const concatenateShell = (file, commandArguments, options) => options.shell && commandArguments.length > 0 |
| 10 | ? [[file, ...commandArguments].join(' '), [], options] |
| 11 | : [file, commandArguments, options]; |
no outgoing calls
no test coverage detected