From 51a9914dc8ec02b053a5594b7478b4d68a750672 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 3 Sep 2021 20:39:10 -0300 Subject: aux/: Update --- aux/workflow/assert-todos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'aux/workflow/assert-todos.sh') 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 -- cgit v1.2.3