-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/encoding/jsonschema: fix staticcheck errors
This fixes various errors found by staticcheck: - an unused method is removed - various usages of cue.Runtime are replaced by cue.Context - the default case of a switch statement is moved to be last Updates #2480. Signed-off-by: Noam Dolovich <noam.tzvi.dolovich@gmail.com> Change-Id: I0945d3c63fcd581aa7a6f198bc74fc1a56841b5c Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196248 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information
Showing
3 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters