We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e888508 commit 612837aCopy full SHA for 612837a
cue/load/config.go
@@ -469,7 +469,7 @@ func (c *Config) newErrInstance(err error) *build.Instance {
469
i := c.Context.NewInstance("", nil)
470
i.Root = c.ModuleRoot
471
i.Module = c.Module
472
- i.Err = errors.Promote(err, "instance")
+ i.Err = errors.Promote(err, "")
473
return i
474
}
475
cue/load/loader.go
@@ -143,10 +143,7 @@ func (l *loader) cueFilesPackage(files []*build.File) *build.Instance {
143
pkg.User = true
144
l.addFiles(l.cfg.Dir, pkg)
145
146
- l.stk.Push("user")
147
_ = pkg.Complete()
148
- l.stk.Pop()
149
- //pkg.LocalPrefix = dirToImportPath(dir)
150
pkg.DisplayPath = "command-line-arguments"
151
152
return pkg
0 commit comments