Skip to content

Commit

Permalink
Adding operator for node -v check in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PrasanthVijayy committed Oct 15, 2024
1 parent dafeaa6 commit 5c05835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: |
for file in $(find . -name "*.js"); do
echo "Checking $file for syntax errors..."
node --check "$file"
node --check "$file" || echo "Skipping $file due to syntax error or missing modules"
done

0 comments on commit 5c05835

Please sign in to comment.