You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think --silent works as intended in your example. All this flag does is it tells shx to suppress error output, and that's what happened (shx did not print the error message).
The Lifecycle script error message is printed by npm because shx returned a non-zero status code. So if you want to suppress all the error output, I recommend you do as I advised in #210.
I think we could clarify this a bit better in the README documentation by adding a couple examples:
...
$ shx --silent ls fakeFileName # silence error output
# Add this part:
$ shx --silent ls fakeFileName || shx true # silence error output and ignore the exit status
the following example is from readme.md
output:
The text was updated successfully, but these errors were encountered: