Skip to content

env_add_path reverses the order #3785

Closed
@nuno-andre

Description

@nuno-andre

When env_add_path have multiple paths, these are added to %PATH% in reverse order.

With something like "env_add_path": ["bin", "shims"] you would expect a "$dir\bin:$dir\shims:$path" sorting, but it's "$dir\shims:$dir\bin:$path".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      env_add_path reverses the order · Issue #3785 · ScoopInstaller/Scoop