Skip to content

Commit b91e39d

Browse files
committed
Correct var used for dependency checking
1 parent 868eff5 commit b91e39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vars:
1818
hasIntegrationTests:
1919
sh: 'if [ -d "{{ .TASKFILE_DIR }}/{{ .hookName }}/integration-tests" ]; then echo "true"; else echo "false"; fi'
2020
hookUsesNpmDependencies:
21-
sh: 'if [ -f "{{ .TASKFILE_DIR }}/{{ .scannerName }}/hook/package.json" ]; then echo "true"; else echo "false"; fi'
21+
sh: 'if [ -f "{{ .TASKFILE_DIR }}/{{ .hookName }}/hook/package.json" ]; then echo "true"; else echo "false"; fi'
2222
env:
2323
IMG_TAG:
2424
sh: 'echo "sha-$(git rev-parse --short HEAD)"'

0 commit comments

Comments
 (0)