Skip to content

Commit

Permalink
Fix unsetting env variables
Browse files Browse the repository at this point in the history
Missed in #179472
  • Loading branch information
Tyriar committed Apr 7, 2023
1 parent ba27ff1 commit 8f9da62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [ -n "$VSCODE_ENV_PREPEND" ]; then
VALUE="$(echo $ITEM | cut -d "=" -f 2)"
export $VARNAME="$VALUE${!VARNAME}"
done
builtin unset VSCODE_ENV_REPLACE
builtin unset VSCODE_ENV_PREPEND
fi
if [ -n "$VSCODE_ENV_APPEND" ]; then
IFS=':' read -ra ADDR <<< "$VSCODE_ENV_APPEND"
Expand All @@ -71,7 +71,7 @@ if [ -n "$VSCODE_ENV_APPEND" ]; then
VALUE="$(echo $ITEM | cut -d "=" -f 2)"
export $VARNAME="${!VARNAME}$VALUE"
done
builtin unset VSCODE_ENV_REPLACE
builtin unset VSCODE_ENV_APPEND
fi

__vsc_get_trap() {
Expand Down

0 comments on commit 8f9da62

Please sign in to comment.