Skip to content

Commit 0718117

Browse files
committed
Update: FIX colorize_boolean()
1 parent b5f7d65 commit 0718117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ colorize_boolean() {
491491
elif [ "$value" = "false" ]; then
492492
echo "${COLOR_RED}false${CoR}"
493493
else
494-
# Si la valeur n'est ni true ni false, la convertir en booléen
494+
# If value is neither true nor false, convert to boolean
495495
if [ "$value" = "1" ] || [ "$value" = "yes" ] || [ "$value" = "on" ]; then
496496
echo "${COLOR_GREEN}true${CoR}"
497497
else

0 commit comments

Comments
 (0)