Skip to content

Commit cfd0dc9

Browse files
committed
convert the function name to use with task names
1 parent 0371197 commit cfd0dc9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/soda/exec.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,12 @@ execute() {
133133
# ${FUNCTION_NAME}-start: after call
134134
# ${FUNCTION_NAME}-finish: before call
135135
#
136+
# This method is intented to use for task call
137+
#
136138
call() {
137-
local function_name="$1"
139+
local function_name="$(build_name $1)"
140+
shift
138141
broadcast "${function_name}-start"
139-
"$@"
142+
$function_name "$@"
140143
broadcast "${function_name}-finish"
141144
}

0 commit comments

Comments
 (0)