aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-todos.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-23 15:13:23 -0300
committerEuAndreh <eu@euandre.org>2021-07-23 15:13:23 -0300
commit3a94df050166da6bf9fc3fda584b69816779d865 (patch)
tree145f6767d7afeeca9b4e0524c14a0758209f6e7a /aux/workflow/assert-todos.sh
parentTODOs.md: Mark #task-bd165b74-c559-48ee-1d29-eaa906aa0393 as DONE (diff)
downloadremembering-3a94df050166da6bf9fc3fda584b69816779d865.tar.gz
remembering-3a94df050166da6bf9fc3fda584b69816779d865.tar.xz
aux/: Update
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-xaux/workflow/assert-todos.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh
index ca73b7f..dfa1ab7 100755
--- a/aux/workflow/assert-todos.sh
+++ b/aux/workflow/assert-todos.sh
@@ -29,8 +29,8 @@ h2flag == 1 {
h2flag = 0
}
-/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ {
- if (match($0, / \{#.*?\}$/) == 0) {
+/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE|WONTFIX)/ {
+ if (match($0, / \{#.*?\}.*$/) == 0) {
print "Missing ID for line " NR ":\n" $0
exitstatus = 1
}