mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
fixup: prevent failure when the -d/--debug flag is not provided
Fixes: https://github.com/tj/git-extras/pull/1227#discussion_r2703111483
This commit is contained in:
parent
d11e02832f
commit
4f9ca2df8b
|
|
@ -114,6 +114,9 @@ do
|
|||
printf "\033[00m\n"
|
||||
done
|
||||
|
||||
test -n "$DEBUG" && sort -nr "$DEBUG"
|
||||
rm -f "$MERGED_LOG"
|
||||
|
||||
rm -f "$DEBUG" "$MERGED_LOG"
|
||||
if [[ -n "$DEBUG" ]] ; then
|
||||
sort -nr "$DEBUG" &&
|
||||
rm -f "$DEBUG"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue