Skip to content

codegen improperly deletes files in .git directory? #204

@ebauman

Description

@ebauman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions