Skip to content

Commit

Permalink
Test error
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 committed Dec 7, 2023
1 parent 9e9d92f commit 356c33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/file-watcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WATCHER_PATH=$1
echo 0 > error.txt

# Find all files in the snippets folder
find $WATCHER_PATH -type f -print0 | while IFS= read -r -d '' file; do
find $WATCHER_PATH -type f -name '*.md' -o -name '*.yaml' -print0 | while IFS= read -r -d '' file; do

# Check if the file contains the string "WATCHER_URL" and is therefore a watcher file
cat "$file" | grep 'WATCHER_URL' >> /dev/null || continue
Expand Down

0 comments on commit 356c33b

Please sign in to comment.