Skip to content

Commit

Permalink
fix: generate commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfogre committed May 6, 2020
1 parent 5194393 commit 925ea11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/gtag/gtag.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (r *GenerateResult) String() string {
}

func Generate(ctx context.Context, dir string, types []string) ([]*GenerateResult, error) {
cmd := fmt.Sprintf("gtag -types %s %s", strings.Join(types, ","), dir)
cmd := fmt.Sprintf("gtag -types %s .", strings.Join(types, ","))

types = types[:uniq.Strings(types)]

Expand Down
2 changes: 1 addition & 1 deletion test/internal/regular/empty_tag.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/internal/regular/user_tag.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 925ea11

Please sign in to comment.