aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-todos.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-14 12:30:29 -0300
committerEuAndreh <eu@euandre.org>2021-07-14 12:36:38 -0300
commitb1103a7cec6b4b32c65a33810fd68208cbf953e2 (patch)
tree68c042916bff9c642fd3d38205f00e5ae9474f0d /aux/workflow/assert-todos.sh
parentTODOs.md: Add #task-6946fc69-3f25-fc6b-5f4d-89cb940021f0 (diff)
downloadgit-permalink-b1103a7cec6b4b32c65a33810fd68208cbf953e2.tar.gz
git-permalink-b1103a7cec6b4b32c65a33810fd68208cbf953e2.tar.xz
aux/workflow/TODOs.sh: Allow tags to appear after the ID marker
Adjust aux/workflow/assert-todos.sh accordingly.
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-xaux/workflow/assert-todos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh
index ca73b7f..b5e7375 100755
--- a/aux/workflow/assert-todos.sh
+++ b/aux/workflow/assert-todos.sh
@@ -30,7 +30,7 @@ h2flag == 1 {
}
/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ {
- if (match($0, / \{#.*?\}$/) == 0) {
+ if (match($0, / \{#.*?\}.*$/) == 0) {
print "Missing ID for line " NR ":\n" $0
exitstatus = 1
}