dev icon indicating copy to clipboard operation
dev copied to clipboard

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

Open simunic-cz opened this issue 10 months ago • 1 comments

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

simunic-cz avatar Feb 19 '25 00:02 simunic-cz

Opened a PR: https://github.com/moonrepo/dev/pull/81

simunic-cz avatar Feb 19 '25 00:02 simunic-cz