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:
parent
82dfb955f5
commit
14cfd65b62
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user