MOBILE-3660 github: Improve duplicate class detection

main
Pau Ferrer Ocaña 2021-02-04 15:51:03 +01:00
parent 67e3021e54
commit f42ed2f054
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ jobs:
- run: npx tslint -c ionic-migration.json -p tsconfig.json
- run: npm run test:ci
- run: npm run build:prod
- run: result=$(find src -type f -iname '*.html' -exec grep -E 'class="[^"]+"[^>]+class="' {} \; | wc -l); test $result -eq 0
- run: result=$(find src -type f -iname '*.html' -exec sh -c 'cat {} | tr "\n" " " | grep -Eo "class=\"[^\"]+\"[^>]+class=\"" ' \; | wc -l); test $result -eq 0