Skip to content

Commit

Permalink
pass correct (non "main") importpath to nogo for main package (#3863
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Strum355 committed Feb 14, 2024
1 parent 18f0b54 commit f0e46ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tools/builders/compilepkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func compileArchive(
ctx, cancel := context.WithCancel(context.Background())
nogoChan = make(chan error)
go func() {
nogoChan <- runNogo(ctx, workDir, nogoPath, goSrcsNogo, facts, packagePath, importcfgPath, outFactsPath)
nogoChan <- runNogo(ctx, workDir, nogoPath, goSrcsNogo, facts, importPath, importcfgPath, outFactsPath)
}()
defer func() {
if nogoChan != nil {
Expand Down

0 comments on commit f0e46ec

Please sign in to comment.