mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-01-31 17:39:14 +01:00
build: Print shfmt error to stderr instead of stdout (#29)
This commit is contained in:
parent
5af706fc7c
commit
a3c4fa1014
2
build.sh
2
build.sh
@ -396,7 +396,7 @@ fi
|
||||
[[ -d "$BIN" ]] || mkdir "$BIN"
|
||||
|
||||
if ! will_minify none && ! command -v shfmt &>/dev/null; then
|
||||
printc "%{RED}Warning: cannot find shfmt. Unable to minify scripts.%{CLEAR}\n"
|
||||
printc "%{RED}Warning: cannot find shfmt. Unable to minify scripts.%{CLEAR}\n" 1>&2
|
||||
OPT_MINIFY=none
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user