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

This reverts commit 5257117ea11a76b13eeac97fc02fe3874a871f68.
This commit is contained in:
Pau Ferrer Ocaña 2021-08-09 11:59:57 +02:00
parent 2d3345f16a
commit aff39e8201

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