Skip to content

Conversation

dolmen
Copy link

@dolmen dolmen commented Oct 16, 2025

Summary

Use os.PathListSeparator instead of ":". This removes one blocker for a Windows port (#450) as the path separator on Windows is ";".

Also use path/filepath.SplitList instead of strings.Split to correctly handle the (very unexpected) case of an empty PATH in internal/shims.RemoveFromPath.

Use os.PathListSeparator instead of ":". This removes one blocker for
a Windows port as the path separator on Windows is ";".

Also use filepath.SplitList instead of strings.Split to correctly handle
the (very unepected) case of an empty PATH in RemoveFromPath.
@dolmen dolmen requested a review from a team as a code owner October 16, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant