-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dynenv): 🐛 unset properly list environment variables (#325)
List environment variables were set back to the empty string instead of being completely unset. This was an issue as empty strings-set environment variables might not have the same behavior as unset environment variables. The issue manifested for the `GOPATH` variable since the recent changes to handle `GOPATH` as a list in the dynenv. This fixes that by having a new list operation 'create', which is used when a list is being appended or prepended to for an environment variable that is currently unset.
- Loading branch information
Showing
1 changed file
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters