Skip to content

Commit

Permalink
Return error when package is added
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Koch <[email protected]>
  • Loading branch information
hugelgupf committed Dec 25, 2022
1 parent a47d0e0 commit 0120e1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pkg/bb/findpkg/bb.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ func NewPackages(l ulog.Logger, env golang.Environ, names ...string) ([]*bbinter
}
for _, p := range importPkgs {
ps, err = addPkg(l, ps, p)
if err != nil {
return nil, err
}
}
}

Expand Down

0 comments on commit 0120e1c

Please sign in to comment.