Skip to content

Commit 1f8e328

Browse files
Fixed integer check.
It wasn;t even finished, how could I push this.
1 parent cc7da1b commit 1f8e328

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gitflow-functions

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ gitflow_validInt() {
185185
local _return
186186

187187
[ -n "$1" ] || return 1
188-
case ${_flags_int_} in
188+
_int="$1"
189+
case "${_int}" in
189190
*[!0-9]*) _return=1 ;;
190191
*) _return=0 ;;
191-
esac
192+
esac
193+
return $_return
192194
}

0 commit comments

Comments
 (0)