ci: fix escaping of strings in jq command

This commit is contained in:
Jan van Brügge
2025-01-08 10:08:35 +00:00
parent 4ab6fe6613
commit 90656c9dd5

View File

@@ -37,5 +37,5 @@ jobs:
- name: Lockfile lint
run: |
[ -z "$(jq -r '.packages | to_entries[] | select((.key | contains(\"node_modules\")) and (.value | has(\"resolved\") | not)) | .key' < package-lock.json)" ]
[ -z "$(jq -r '.packages | to_entries[] | select((.key | contains("node_modules")) and (.value | has("resolved") | not)) | .key' < package-lock.json)" ]
working-directory: frontend