aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-todos.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-13 15:02:40 -0300
committerEuAndreh <eu@euandre.org>2022-01-13 15:02:40 -0300
commitc98d6c8175a1b2fe4452990b6ac19346411b637d (patch)
treeb089c7bf575b58d94951a651be32869a94a2f396 /aux/workflow/assert-todos.sh
parentsrc/xyz/euandreh/queue.scm: Change pymd4c to upstream repository (diff)
downloadpackage-repository-c98d6c8175a1b2fe4452990b6ac19346411b637d.tar.gz
package-repository-c98d6c8175a1b2fe4452990b6ac19346411b637d.tar.xz
aux/: Update
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-xaux/workflow/assert-todos.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh
index dfa1ab7..bc4907d 100755
--- a/aux/workflow/assert-todos.sh
+++ b/aux/workflow/assert-todos.sh
@@ -1,7 +1,8 @@
#!/bin/sh
set -eu
-if git grep FIXME | grep -v '^TODOs.md' | grep -v '^aux/workflow/assert-todos.sh'; then
+if [ -e .git ] && git grep FIXME | grep -v '^TODOs.md' |
+ grep -v '^aux/workflow/assert-todos.sh'; then
echo "Found dangling FIXME markers on the project."
echo "You should write them down properly on TODOs.md."
exit 1