Remove pointless check for existence of function setup()
This commit is contained in:
parent
46e9c86aff
commit
92b125cfba
1 changed files with 0 additions and 4 deletions
4
git-flow
4
git-flow
|
@ -80,10 +80,6 @@ main() {
|
|||
fi
|
||||
|
||||
# run the specified action
|
||||
# if the subcommand declares a setup() function, call that first
|
||||
if typeset -f setup >/dev/null; then
|
||||
setup
|
||||
fi
|
||||
cmd_$SUBACTION "$@"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue