aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-todos.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-03 20:39:10 -0300
committerEuAndreh <eu@euandre.org>2021-09-03 20:39:10 -0300
commit51a9914dc8ec02b053a5594b7478b4d68a750672 (patch)
tree8b3143830dc5658f3848328facded29e4c6cb52c /aux/workflow/assert-todos.sh
parentWIP reactivate nixvps with Terraform and nixos-rebuild on Vultr (diff)
downloadtoph-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.gz
toph-51a9914dc8ec02b053a5594b7478b4d68a750672.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