Skip to content

Commit

Permalink
fix(lib/omb-util): fix "_omb_util_print_lines" without arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Oct 18, 2024
1 parent 6a79f67 commit 5ce9fad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/omb-util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ function _omb_util_print {
}

function _omb_util_print_lines {
printf '%s\n' "$@"
if (($#)); then
printf '%s\n' "$@"
fi
}

function _omb_string_escape_prompt {
Expand Down

0 comments on commit 5ce9fad

Please sign in to comment.