From 692185136a6d7e96660b90370759d1f83a05ec4c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 1 Sep 2021 11:18:01 -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