diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/assert-todos.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/assert-todos.sh b/scripts/assert-todos.sh index c3139d1..a9c5ef9 100755 --- a/scripts/assert-todos.sh +++ b/scripts/assert-todos.sh @@ -3,8 +3,7 @@ set -Eeuo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" cd ../ -# shellcheck disable=2046 -if grep -R FIXME $(git ls-files) | grep -v '^TODOs.org' | grep -v '^.git/' | grep -v '^scripts/assert-todos.sh'; then +if git grep FIXME | grep -v '^TODOs.org' | grep -v '^scripts/assert-todos.sh'; then echo "Found dangling FIXME markers on the project." echo "You should write them down properly on TODOs.org." exit 1 |