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
No output from cue trim and that it removed the id field.
What did you see instead?
$ cue trim ./...:test
{
#Foo: {
id: string
}
foo: {
X1: {
id: "X1"
- alist: []
}
}
}
Aborting trim, output differs after trimming. This is a bug! Use -i to force trim.
You can file a bug here: https://cuelang.org/issues/new?assignees=&labels=NeedsInvestigation&template=bug_report.md&title=
The text was updated successfully, but these errors were encountered:
myitcv
changed the title
Aborting trim, output differs after trimming. This is a bug! (empty lists removed)
cmd/cue: aborting trim, output differs after trimming. This is a bug! (empty lists removed)
May 13, 2024
myitcv
changed the title
cmd/cue: aborting trim, output differs after trimming. This is a bug! (empty lists removed)
cmd/cue: trim cannot handle ellipsis and empty list value
May 13, 2024
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
I belive my version to be the latest stable release.
What did you do?
Ran 'cue trim' on this code:
What did you expect to see?
No output from
cue trim
and that it removed theid
field.What did you see instead?
The text was updated successfully, but these errors were encountered: