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

codegen improperly deletes files in .git directory? #204

Open
ebauman opened this issue Apr 25, 2022 · 1 comment
Open

codegen improperly deletes files in .git directory? #204

ebauman opened this issue Apr 25, 2022 · 1 comment

Comments

@ebauman
Copy link

ebauman commented Apr 25, 2022

howdy folks,

built a project using wrangler very similar to github.com/rancher/wrangler-sample
i have a custom api, a controller, a codegen and clean func, etc.

when I run go generate I receive

FATA[0014] go modules copy failed: open ./.git/objects/04/f4b9bf3bd3e5a0229df44bc18d19d15ac0ac97: permission denied 

this somehow eliminates the content of all files in my .git directory (top level only).
the files themselves still exist but 0B empty

@ebauman
Copy link
Author

ebauman commented Apr 25, 2022

wrangler bug having to do with the existence of GOPATH it seems

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

No branches or pull requests

1 participant