({error, fileDescriptors, sourceOptions, startTime})
| 46 | |
| 47 | // Specific error return value when passing invalid arguments to `subprocess.pipe()` or when using `unpipeSignal` |
| 48 | export const createNonCommandError = ({error, fileDescriptors, sourceOptions, startTime}) => makeEarlyError({ |
| 49 | error, |
| 50 | command: PIPE_COMMAND_MESSAGE, |
| 51 | escapedCommand: PIPE_COMMAND_MESSAGE, |
| 52 | fileDescriptors, |
| 53 | options: sourceOptions, |
| 54 | startTime, |
| 55 | isSync: false, |
| 56 | }); |
| 57 | |
| 58 | const PIPE_COMMAND_MESSAGE = 'source.pipe(destination)'; |
no test coverage detected