From d287700b6d0957ac58482597785946c2debc026b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 1 Nov 2021 16:13:38 -0400 Subject: [PATCH] [semver:patch] unset NODE_OPTIONS to prevent exit 4 --- CHANGELOG.md | 4 ++++ README.md | 2 +- src/@orb.yml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8762006b..91514490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.2.1 +**Fixes +- #120: fix: unset NODE_OPTIONS to prevent exit 4 + ## 3.2.0 **Features** - #117: feat: Add alpine build support diff --git a/README.md b/README.md index b4636096..853bebf9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # codecov-circleci-orb -## Latest version 3.2.0 +## Latest version 3.2.1 [![codecov.io](https://codecov.io/github/codecov/codecov-circleci-orb/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-circleci-orb) [![Circle CI](https://circleci.com/gh/codecov/codecov-circleci-orb.png?style=badge)](https://circleci.com/gh/codecov/codecov-circleci-orb) diff --git a/src/@orb.yml b/src/@orb.yml index 40f180a8..5ff95acd 100644 --- a/src/@orb.yml +++ b/src/@orb.yml @@ -78,12 +78,13 @@ commands: - run: name: Upload Coverage Results command: | + unset $NODE_OPTIONS # See https://github.com/codecov/uploader/issues/475 source $BASH_ENV chmod +x $filename [ -n "<< parameters.file >>" ] && set - "${@}" "-f" "<< parameters.file >>" [ -n "<< parameters.xtra_args >>" ] && set - "${@}" "<< parameters.xtra_args >>" ./$filename \ - -Q "codecov-circleci-orb-3.1.0" \ + -Q "codecov-circleci-orb-3.2.1" \ -t "${<< parameters.token >>}" \ -n "<< parameters.upload_name >>" \ -F "<< parameters.flags >>" \