Skip to content

Commit

Permalink
Fix go generate directives in **/cmd/*/main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Oct 2, 2023
1 parent 290dcda commit db076b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions windows-agent/cmd/ubuntu-pro-agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import (
log "github.com/sirupsen/logrus"
)

//go:generate go run ../generate_completion_documentation.go completion ../../generated
//go:generate go run ../generate_completion_documentation.go update-readme
//go:generate go run ../generate_completion_documentation.go update-doc-cli-ref
//go:generate go generate ../../generate/...

func main() {
i18n.InitI18nDomain(common.TEXTDOMAIN)
Expand Down
4 changes: 1 addition & 3 deletions wsl-pro-service/cmd/wsl-pro-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import (
log "github.com/sirupsen/logrus"
)

//go:generate go run ../generate_completion_documentation.go completion ../../generated
//go:generate go run ../generate_completion_documentation.go update-readme
//go:generate go run ../generate_completion_documentation.go update-doc-cli-ref
//go:generate go generate ../../generate/...

func main() {
i18n.InitI18nDomain(common.TEXTDOMAIN)
Expand Down

0 comments on commit db076b7

Please sign in to comment.