this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd/cue: add newline between imported objects

Signed-off-by: Marcel van Lohuizen <mpvl@golang.org>

Change-Id: Ie537e739d8ea1a616a45677352fde090090fcc10
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/532275
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>

authored by

Marcel van Lohuizen and committed by
Marcel van Lohuizen
bd3b6eaf 04812bfb

+22
+1
cmd/cue/cmd/orphans.go
··· 220 220 astinternal.DebugStr(x), arg) 221 221 } 222 222 } 223 + ast.SetPos(label, token.NoPos) 223 224 a = append(a, cue.Label(label)) 224 225 labels = append(labels, label) 225 226 }
+21
cmd/cue/cmd/testdata/script/import_merge.txt
··· 1 + cue import -o - x.yaml -l objects: -l metadata.name 2 + cmp stdout expect-stdout 3 + 4 + -- x.yaml -- 5 + kind: "foo" 6 + metadata: 7 + name: foo 8 + --- 9 + kind: "foo" 10 + metadata: 11 + name: bar 12 + 13 + -- expect-stdout -- 14 + objects: foo: { 15 + kind: "foo" 16 + metadata: name: "foo" 17 + } 18 + objects: bar: { 19 + kind: "foo" 20 + metadata: name: "bar" 21 + }