Skip to content

Commit

Permalink
Update node-sass.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 21, 2023
1 parent 55dd462 commit 1f9a879
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node-sass.yml
Expand Up @@ -37,5 +37,10 @@ jobs:
# Check that there are no Sass variables (`$`)
- name: Check built CSS files
shell: bash
run: |
if [ $(find dist-sass/css/ -name "*.css" |xargs grep -F "\$"|wc -l |bc) -eq 0 ]; then exit 0 ; else exit 1 ; fi
if [[ $(find dist-sass/css/ -name "*.css" | xargs grep -F "\$" | wc -l | bc) -eq 0 ]]; then
exit 0
else
exit 1
fi

0 comments on commit 1f9a879

Please sign in to comment.