No feature branches is perfectly OK, so exit clean with code 0.
This commit is contained in:
parent
bd4f095186
commit
c51aedf8d0
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ cmd_list() {
|
|||
FEATURE_BRANCHES="$(echo "$LOCAL_BRANCHES" | grep "^$PREFIX")"
|
||||
if [ -z "$FEATURE_BRANCHES" ]; then
|
||||
warn "No feature branches exist."
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
echo "$FEATURE_BRANCHES" | sed "s?^$PREFIX??g"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue