-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Errors during golangci operation #3408
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
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Yes I have tried since 1.48.0 version. The Result the same. |
So it seems related to a missing piece inside your OS. Can you try the following commands and give me the output:
|
PS C:\Users\divanov\Desktop\GO\otus\struct> diff --help Командлет Compare-Object в конвейере команд в позиции 1 |
This issue appears because Windows doesn't have A workaround for the issue is to append the directory with the program [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Git\usr\bin", "User") Some may disagree that Windows has PowerShell with working |
My colleague ran into this issue as well. He's working on Windows but the odd thing is that he's running go and golangci-lint inside a docker container. Admittedly Why does linter behave differently when running inside docker? |
Ah okay it seems it's actually not a problem of the golangci-lint itself but rather |
Combination of the following pull requests addresses this issue on Windows when |
Welcome
Description of the problem
I am using the last version golangco 1.50.1 on local maschine (windows).
When I try to perform linter, I get following errors:
What can they be related to?
How can I fix them?
Version of golangci-lint
1.50.1
Configuration file
Go environment
windows
Verbose output of running
Code example or link to a public repository
// add your code here
The text was updated successfully, but these errors were encountered: