diff --git a/apps/remix-ide/ci/lint.sh b/apps/remix-ide/ci/lint.sh index 49c0c92c82..de3445017d 100755 --- a/apps/remix-ide/ci/lint.sh +++ b/apps/remix-ide/ci/lint.sh @@ -6,17 +6,11 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} echo "$BUILD_ID" TEST_EXITCODE=0 -npm run build:e2e -KEYS=$(jq -r '.projects | keys' workspace.json | tr -d '[],"') -# add .js to every key -KEYS=$(echo $KEYS | sed 's/\(.*\)/\1.js/') -# keys to array -KEYS=($KEYS) - +KEYS=$(jq -r '.projects | keys | map(. + ".js") ' workspace.json | tr -d '[],"') +# add .js to all elements in array KEYS TESTFILES=$(echo $KEYS | circleci tests split) echo $TESTFILES - echo "$TEST_EXITCODE" if [ "$TEST_EXITCODE" -eq 1 ] then