diff options
author | EuAndreh <eu@euandre.org> | 2021-09-03 20:39:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-03 20:39:10 -0300 |
commit | 51a9914dc8ec02b053a5594b7478b4d68a750672 (patch) | |
tree | 8b3143830dc5658f3848328facded29e4c6cb52c /aux/workflow/assert-todos.sh | |
parent | WIP reactivate nixvps with Terraform and nixos-rebuild on Vultr (diff) | |
download | server-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.gz server-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.xz |
aux/: Update
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-x | aux/workflow/assert-todos.sh | 3 |
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 |