Skip to content

Commit

Permalink
Test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 committed Dec 6, 2023
1 parent 94f8a95 commit 222d6e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/watch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ERROR_FOUND=0

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

echo "Checking $file"
# 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 222d6e0

Please sign in to comment.