diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3f0e7f..8658b53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ on: workflow_dispatch: jobs: - build: + Test-SVGs: runs-on: ubuntu-latest steps: @@ -31,6 +31,12 @@ jobs: for f in ./**/*.svg do echo "Checking '$f'" + + # Checking if file contains space in path + if [[ $f == *\ * ]] ; then + errArr+=("$f contains a space!") + fi + # Gets everything in between the viewBox quotes vbStr=$(cat $f) vbStr=${vbStr##*viewBox=\"}