Skip to content

Commit 891af42

Browse files
committed
add header
1 parent c9a3dec commit 891af42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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: add header to .tsv
36+
# XXX: fix "Illegal quoting in line 74" from GitHub (" => ' ?)
3737
jobs:
3838
extract-pdd-puzzles:
3939
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, .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, .file, .lines ] | @tsv'

0 commit comments

Comments
 (0)