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

windows golangci-lint.exe, version 1.31.0, hard disk name uppercase will error #1454

Open
ahfuzhang opened this issue Oct 16, 2020 · 4 comments
Open
Labels
bug good first issue help wanted platform: windows

Comments

@ahfuzhang
Copy link

@ahfuzhang ahfuzhang commented Oct 16, 2020

when I use:

golangci-lint.exe run d:\source\github.com\ahfuzhang\go_xxx_server\src\cgi

it's ok

when I use:

golangci-lint.exe run D:\source\github.com\ahfuzhang\go_xxx_server\src\cgi

the error is:

level=error msg="[linters context] typechecking error: go: directory . outside available modules"
level=warning msg="[runner] Can't run linter goanalysis_metalinter: S1011: failed prerequisites: [(inspect@command-line-arguments, isgenerated@command-line-arguments): analysis skipped: errors in package: [-: go: directory . outside available modules]]"
level=warning msg="[runner] Can't run linter unused: buildir: analysis skipped: errors in package: [-: go: directory . outside available modules]"
level=error msg="Running error: buildir: analysis skipped: errors in package: [-: go: directory . outside available modules]"

thanks

@ahfuzhang ahfuzhang added the bug label Oct 16, 2020
@boring-cyborg
Copy link

@boring-cyborg boring-cyborg bot commented Oct 16, 2020

Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.

@sayboras
Copy link
Member

@sayboras sayboras commented Oct 26, 2020

Thanks for reporting this issue, do you plan to work on this ?

@sayboras sayboras added good first issue help wanted platform: windows labels Oct 26, 2020
@pkuca
Copy link
Contributor

@pkuca pkuca commented Feb 19, 2021

Does it make sense to check for drive letters in here and lowercase them?

@ChenhuaYang
Copy link

@ChenhuaYang ChenhuaYang commented Jun 2, 2021

Neither is OK for me. I tried lowercase and uppercase, and golangci-lint output:outside available modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue help wanted platform: windows
Projects
None yet
Development

No branches or pull requests

4 participants