Skip to content

Commit c21772f

Browse files
Do not check syntax for reference file
1 parent 9685d02 commit c21772f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/jobs/syntax-check

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ if [ ! -x /usr/bin/shellcheck ]; then
2525
fi
2626

2727
find . \( \
28-
-path ./webapp/vendor -prune \
29-
-o -path ./webapp/var -prune \
30-
-o -path ./output -prune \
31-
-o -path ./.git -prune \
32-
-o -path ./webapp/migrations -prune \
33-
-o -path ./example_problems -prune \
34-
-o -type f \) \
35-
-a -type f | \
28+
-path ./webapp/vendor -prune \
29+
-o -path ./webapp/var -prune \
30+
-o -path ./output -prune \
31+
-o -path ./.git -prune \
32+
-o -path ./webapp/migrations -prune \
33+
-o -path ./example_problems -prune \
34+
-o -path ./webapp/config/reference.php \
35+
-o -type f -print \) | \
3636
while read -r i ; do
3737
if [[ "$i" == *\.php ]] || grep -q "^#\\!.*php" "$i" && \
3838
echo "$i" | grep -qvE '(^\./(webapp/resources/adminer)\.php)'; then

0 commit comments

Comments
 (0)