Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanning directory on other drive fails on Windows #17

Open
lesiw opened this issue Aug 21, 2024 · 0 comments
Open

Scanning directory on other drive fails on Windows #17

lesiw opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@lesiw
Copy link

lesiw commented Aug 21, 2024

GitHub Actions run

Relevant error:

+ go run github.com/bobg/mingo/cmd/mingo@latest -check
go: downloading github.com/bobg/mingo v0.11.1
go: downloading github.com/bobg/errors v1.1.0
go: downloading github.com/bobg/go-generics/v3 v3.7.0
go: downloading golang.org/x/mod v0.20.0
go: downloading golang.org/x/tools v0.24.0
go: downloading golang.org/x/sync v0.8.0
Error: Error scanning directory: scanning package lesiw.io/defers: checking whether D:\a\defers\defers\defers.go is in GOCACHE: computing relative path from C:\Users\runneradmin\AppData\Local to D:\a\defers\defers\defers.go: Rel: can't make D:\a\defers\defers\defers.go relative to C:\Users\runneradmin\AppData\Local

This seems to be because filepath.Rel cannot cross Windows drives.

@bobg bobg added bug Something isn't working good first issue Good for newcomers labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants