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
Along with making them red in color, we can send those error message to stderror, in case if some just command enabled set -eou pipefail, so the command fails without need to specify exit 1.
I use this format for my just modifications: echo "ERROR: This is the command which failed!" 1>&2
We can easily specify colors from sourced lib-ujust for this.
The text was updated successfully, but these errors were encountered:
fiftydinar
changed the title
Just: Standardize error messages & make them red in color
just: Standardize error messages & make them red in color
Mar 28, 2024
Along with making them red in color, we can send those error message to stderror, in case if some just command enabled
set -eou pipefail
, so the command fails without need to specifyexit 1
.I use this format for my just modifications:
echo "ERROR: This is the command which failed!" 1>&2
We can easily specify colors from sourced lib-ujust for this.
The text was updated successfully, but these errors were encountered: