1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-29 21:57:16 +02:00

fix: remove unuseful file when use nomod (#2234)

This commit is contained in:
haiyux 2022-07-24 15:12:16 +08:00 committed by GitHub
parent 82dfb955f5
commit 14cfd65b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ import (
)
var repoAddIgnores = []string{
".git", ".github", "api", "README.md", "LICENSE", "go.mod", "go.sum", "third_party",
".git", ".github", "api", "README.md", "LICENSE", "go.mod", "go.sum", "third_party", "openapi.yaml", ".gitignore",
}
func (p *Project) Add(ctx context.Context, dir string, layout string, branch string, mod string) error {