Skip to content

Commit fd17d75

Browse files
committed
FIX issue with optional parameter
1 parent 00ff87e commit fd17d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_unit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ pretty_success() {
299299
}
300300

301301
pretty_warning() {
302-
pretty_format "$YELLOW" "\u2717" "$1"
302+
pretty_format "$YELLOW" "\u2717" "${1:-}"
303303
}
304304

305305
pretty_failure() {

0 commit comments

Comments
 (0)