Closed alexander-akait closed 8 years ago
@evilebottnawi Hmm, what exactly bothers you? The message, the exit code or both? – Can you give us some context, why this feature is useful for you?
@schnittstabil exit code, i use CI and get build failed.
You may try || true
, which is perhaps not platform independent, though:
cpy 'public/**/*.*' '../build/' --cwd=src --parents || true
@schnittstabil thanks
The double pipe (||
) is supported by windows, but not the true
command afaik.
For package.json/"scripts"
use cases you may install a cross-platform implementation, e.g. cash-true:
npm install --save-dev cash-true
I run.
Output: