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

pull/2236/head
haiyux 2 years ago committed by GitHub
parent 82dfb955f5
commit 14cfd65b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/kratos/internal/project/add.go

@ -12,7 +12,7 @@ import (
) )
var repoAddIgnores = []string{ 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 { func (p *Project) Add(ctx context.Context, dir string, layout string, branch string, mod string) error {

Loading…
Cancel
Save