fix: remove extraneous character in log message

This commit is contained in:
vladislav doster 2023-12-24 06:29:46 -06:00 committed by GitHub
parent 5edd64db79
commit a37859692f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ if (( ${+ICE[sbin]} )); then
if (( ${#files} )); then
sbin="${files[1]}"
else
+zi-log "{w} {b}bin-gem-node{rst}: The automatic-empty sbin ice didn't find any executable files%f"
+zi-log "{w} {b}bin-gem-node{rst}: The automatic-empty sbin ice didn't find any executable files"
break
fi
fi
@ -73,7 +73,7 @@ if (( ${+ICE[sbin]} )); then
local file="$ZPFX/bin/$fnam"
command rm -f "$file"
if [[ ! -e $file ]]; then
(( !OPTS[opt_-q,--quiet] )) && +zi-log "{m} {b}sbin{rst}: Deleted {file}$fnam{rst} shim"
(( !OPTS[opt_-q,--quiet] )) && +zi-log "{m} {b}sbin{rst}: Removed {file}$fnam{rst} shim"
else
+zi-log "{w} {b}sbin{rst}: {file}$fnam{rst} shim not found in \$ZPFX/bin"
fi