Skip to content

Commit a313679

Browse files
fix: SC2155 on multi_invoker var
1 parent f4634ab commit a313679

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runner.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ function runner::call_test_functions() {
8383
runner::run_test "$function_name" "$data"
8484
done
8585
else
86-
local multi_invoker=$(helper::get_multi_invoker_function "$function_name" "$script")
86+
local multi_invoker
87+
multi_invoker=$(helper::get_multi_invoker_function "$function_name" "$script")
8788
if [[ -n "${multi_invoker}" ]]; then
8889
helper::execute_function_if_exists "${multi_invoker}"
8990
else

0 commit comments

Comments
 (0)