Skip to content

Commit e6edc1f

Browse files
authored
fix: unbound variable error in schedule-record-workflow.sh (#3401)
- Initialize INPUTS variable to prevent 'unbound variable' error Fixes: ./scripts/github/schedule-record-workflow.sh: line 246: INPUTS: unbound variable │
1 parent a6b1588 commit e6edc1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/github/schedule-record-workflow.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,9 @@ echo "Test pattern: ${TEST_PATTERN:-"(none)"}"
239239
echo ""
240240

241241
# Prepare inputs for gh workflow run
242+
INPUTS=
242243
if [[ -n "$TEST_SUBDIRS" ]]; then
243-
INPUTS="-f subdirs='$TEST_SUBDIRS'"
244+
INPUTS="$INPUTS -f subdirs='$TEST_SUBDIRS'"
244245
fi
245246
if [[ -n "$TEST_SETUP" ]]; then
246247
INPUTS="$INPUTS -f test-setup='$TEST_SETUP'"

0 commit comments

Comments
 (0)