Skip to content

Commit f96d775

Browse files
committed
Search all dirs and ensure no error code
1 parent 01b5580 commit f96d775

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/scripts/track_todos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ fixmes=""
2121
todos=""
2222

2323
# Search for FIXME and TODO annotations in all files in the current directory:
24-
for file in $(find lib/node_modules/@stdlib -type f); do
25-
fixme=$(grep -i -n "FIXME:" $file)
24+
for file in $(find . -type f); do
25+
fixme=$(grep -i -n "FIXME:" $file) || true
2626
if [ -n "$fixme" ]; then
2727
lineNumber=$(echo $fixme | cut -d ":" -f 1)
2828
lineContent=$(echo $fixme | cut -d ":" -f 2-)
2929
fixmes="$fixmes
3030
- [ ] [$file](https://github.com/stdlib-js/stdlib/blob/develop/$file#L$lineNumber): $lineContent"
3131
fi
32-
todo=$(grep -i -n "TODO:" $file)
32+
todo=$(grep -i -n "TODO:" $file) || true
3333
if [ -n "$todo" ]; then
3434
lineNumber=$(echo $todo | cut -d ":" -f 1)
3535
lineContent=$(echo $todo | cut -d ":" -f 2-)

0 commit comments

Comments
 (0)