Skip to content

Commit 1b53925

Browse files
Kevinjilvmcj
authored andcommitted
Fix syntax-check directory
Currently, only files in the `.github/jobs` directory are tested.
1 parent e64fede commit 1b53925

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/jobs/syntax-check

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
set -euo pipefail
55
# shellcheck disable=SC2242
6-
cd "$(dirname "$0")" || exit -1
6+
7+
# Change directory to the root of the repo relative to this script file
8+
cd "$(dirname "$0")/../../" || exit -1
79

810
PHP=$(command -v php)
911
if [ ! -x "$PHP" ]; then

0 commit comments

Comments
 (0)