cmd/cue: ensure that fmt works outside a module with files too
https://cuelang.org/cl/1194851 fixed this recent regression
and added a test case with stdin outside of a CUE module,
but it didn't add a similar test case with a file argument.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I06a17b1edf8651210a0123b0f260f42d16031a93
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194853
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>