Skip to content

Commit

Permalink
Fix multiline string
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Sep 5, 2024
1 parent 54d0711 commit dea1526
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
run: pip install j2lint

- name: Run j2lint
run: |
j2lint *.j2 -w S6 --json | \
jq -r ' \
(.ERRORS | map(. + { type: "error" })) + (.WARNINGS | map(. + { type: "warning" })) | \
.[] | \
"::\(.type) file=\(.filename),line=\(.line_number),title=\(.id)::\(.message)" \
run: >-
j2lint *.j2 -w S6 --json |
jq -r '
(.ERRORS | map(. + { type: "error" })) + (.WARNINGS | map(. + { type: "warning" })) |
.[] |
"::\(.type) file=\(.filename),line=\(.line_number),title=\(.id)::\(.message)"
'
sync:
Expand Down

0 comments on commit dea1526

Please sign in to comment.