Skip to content

Commit 8f6e4fc

Browse files
committed
quote title for CSV
1 parent 891af42 commit 8f6e4fc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/todos-extract-from-code.yml

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ defaults:
3333
# XXX: decision: put a workaround for pdd/wiremock back
3434
# XXX: decision record: pdd-xml-to-json.sh as pdd doesn't support JSON output (+link to the issue)
3535
# XXX: Q: how pdd extarcts <author> and why it flipping between @php-coder to Slava Semushin?
36-
# XXX: fix "Illegal quoting in line 74" from GitHub (" => ' ?)
3736
jobs:
3837
extract-pdd-puzzles:
3938
name: Extract todos from code
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
exec jq --raw-output '. | sort_by([ .ticket | tonumber ], .id) | [ { "id":"Id", "ticket":"Ticket", "body":"Title", "file":"File", "lines":"Lines" } ] + . | .[] | [ .id, .ticket, .body, .file, .lines ] | @tsv'
3+
exec jq --raw-output '. | sort_by([ .ticket | tonumber ], .id) | [ { "id":"Id", "ticket":"Ticket", "body":"Title", "file":"File", "lines":"Lines" } ] + . | .[] | [ .id, .ticket, ([ .body ] | @csv), .file, .lines ] | @tsv'

0 commit comments

Comments
 (0)