Skip to content

Commit f44713b

Browse files
Fix syntax test filename check
Fix file paths with whitespace
1 parent 20adb50 commit f44713b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ SYNTAX
139139

140140
check_syntax_test_filenames() {
141141
echo "::group::Checking syntax test filenames"
142-
for path in $(find . -iname syntax_test*); do
142+
for path in "$(find . -iname 'syntax_test*')"; do
143143
file="${path/$packages\/$INPUT_PACKAGE_NAME/$INPUT_PACKAGE_ROOT}"
144144
if echo "$file" | grep -v '/syntax_test_'; then
145145
echo "::warning file=$file::Syntax test filenames must begin with 'syntax_test_'"

0 commit comments

Comments
 (0)