Currently, the error recommends checking if the pipeline contains non-stepwise commands. But the error gets triggered if a command in the pipeline fails and produces unexpected output. If that's the case, I should be able to detect it and print a more correct error message.
Currently, the error recommends checking if the pipeline contains non-stepwise commands. But the error gets triggered if a command in the pipeline fails and produces unexpected output. If that's the case, I should be able to detect it and print a more correct error message.
Also, only print this error once.