You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cue version
cue version v0.0.0-20240614115342-59e276a47f70
go version go1.22.3
-buildmode exe
-compiler gc
DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
CGO_ENABLED 1
GOARCH arm64
GOOS linux
vcs git
vcs.revision 59e276a47f706c9aaa21b1c638ae5826ca27d88d
vcs.time 2024-06-14T11:53:42Z
vcs.modified false
cue.lang.version v0.10.0
Does this issue reproduce with the latest release?
Yes
What did you do?
# cue mod tidy
! exec cue mod tidy
stderr 'no language version declared in module.cue; run ''cue mod fix'''
# cue export
! exec cue export
stderr 'no language version declared in module.cue; run ''cue mod fix'''
-- cue.mod/module.cue --
module: "mod.example"
-- x.cue --
package x
x: 5
What did you expect to see?
Passing test.
What did you see instead?
# cue mod tidy (0.012s)
# cue export (0.010s)
> ! exec cue export
[stderr]
no language version declared in module.cue
[exit status 1]
> stderr 'no language version declared in module.cue; run ''cue mod fix'''
FAIL: /tmp/testscript803729477/repro.txtar/script.txtar:7: no match for `no language version declared in module.cue; run 'cue mod fix'` found in stderr
The text was updated successfully, but these errors were encountered:
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
What did you expect to see?
Passing test.
What did you see instead?
The text was updated successfully, but these errors were encountered: