Skip to content

Commit

Permalink
fix same package reversion in 93da517
Browse files Browse the repository at this point in the history
  • Loading branch information
switchupcb committed Jun 22, 2022
1 parent ea03ecf commit af93fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/parser/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ func Parse(gen *models.Generator) error {
return fmt.Errorf("an error occurred while loading the packages for types.\n%w", err)
}
p.Config.SetupPkg = p.Pkgs[0]
setupPkgPath = p.Config.SetupPkg.PkgPath

// determine the output file package path.
outputPkgs, _ := packages.Load(&packages.Config{Mode: packages.NeedName}, "file="+gen.Outpath)
Expand Down

0 comments on commit af93fbc

Please sign in to comment.