Skip to content

Commit f6aa07e

Browse files
committed
Add shellcheck directive to ignore dynamic source path warning in test config loading
1 parent 90190c4 commit f6aa07e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ declare -A USER_KEYS=()
121121
EOF
122122

123123
# Test that config has valid syntax and can be sourced
124+
# shellcheck disable=SC1090 # Dynamic source path is intentional for testing
124125
bash -n "$test_config" && source "$test_config"
125126
local result=$?
126127
rm -f "$test_config"

0 commit comments

Comments
 (0)