Skip to content

v5 does not unset PG* environment variables #24

@bkoelman

Description

@bkoelman

The release notes for v5 mention that it unsets PG* environment variables. I've tried this on Windows. It turns out the variables are set to an empty string instead of being unset.

After running your action, the next powershell script:

Get-ChildItem env:* | Sort-Object Name | Format-List

includes the following entries:
image

As a result, 3rd party libs/tools that check for the existence of the variable and use it when present won't work properly.

Is there a way to truly unset them, instead of setting them to an empty string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions