(filePath, rawArguments, rawOptions)
| 6 | |
| 7 | // Compute `result.command`, `result.escapedCommand` and `verbose`-related information |
| 8 | export const handleCommand = (filePath, rawArguments, rawOptions) => { |
| 9 | const startTime = getStartTime(); |
| 10 | const {command, escapedCommand} = joinCommand(filePath, rawArguments); |
| 11 | const verbose = normalizeFdSpecificOption(rawOptions, 'verbose'); |
| 12 | const verboseInfo = getVerboseInfo(verbose, escapedCommand, {...rawOptions}); |
| 13 | logCommand(escapedCommand, verboseInfo); |
| 14 | return { |
| 15 | command, |
| 16 | escapedCommand, |
| 17 | startTime, |
| 18 | verboseInfo, |
| 19 | }; |
| 20 | }; |
no test coverage detected