refactored finding of cue.mod parent

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-08 15:28:02 -07:00
parent 5c9965f10a
commit 83b10d4031
2 changed files with 30 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ type Plan struct {
func Load(ctx context.Context, args ...string) (*Plan, error) {
// FIXME: universe vendoring
if err := state.VendorUniverse(ctx, ""); err != nil {
return nil, err
}