Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
all: minor code cleanups master
While skimming the pkg/tool/cli code, I noticed that a switch can be replaced by a boolean expression. While here, apply three staticcheck suggestions around unused values. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I02b2d768b1fc9176a5f0d913b2de1e9f5ab549ae Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199478 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Matthew Sackman <matthew@cue.works>
Author Daniel Martí Date (Aug 14, 2024, 10:03 AM UTC) Commit dc3ba303 dc3ba30322ca1e1fdf3e12e6cc8a9c145397181d Parent 40da936c 40da936c5904f6353e37ea33be151cb490b11cdd