Skip to content

[VS Code] findMoonBin mishandles home directory path ("~") #80

@simunic-cz

Description

@simunic-cz

When the VS Code setting moon.binPath starts with a tilde (~), then Workspace.findMoonBin method mishandles this path as it treats it as a "regular" relative path and prepends a root path to it.

For example
~/.proto/shims/moon becomes /Users/patrik/projects/foo/~/.proto/shims/moon

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