Revert "MOBILE-3833 lint: One dependency will cause one compat error"

This reverts commit 5257117ea1.
main
Pau Ferrer Ocaña 2021-08-09 11:59:57 +02:00
parent 2d3345f16a
commit aff39e8201
1 changed files with 1 additions and 1 deletions

View File

@ -58,4 +58,4 @@ jobs:
- name: Production builds
run: npm run build:prod
- name: JavaScript code compatibility
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 1
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 0