Skip to content

Commit a0ec960

Browse files
committed
Fix TODO detection in CI
For some reason, ripgrep cannot infer the directory to search in on CI like it can when ran locally. Passing the working directory explicitly fixes this.
1 parent 9233188 commit a0ec960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/detect-todo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fi
6767

6868
# Actual run
6969

70-
rg -iTh -Tsh --pcre2 "$REGEX"
70+
rg -iTh -Tsh --pcre2 "$REGEX" "$(pwd)"
7171
if [[ $? -eq 0 ]]
7272
then
7373
echo 'Found TODO comments without issue numbers.'

0 commit comments

Comments
 (0)