internal/mod/modload: remove dead language.version check in CheckTidy
modfile.ParseNonStrict already requires the field to be set,
so by the time we reach this stage of CheckTidy,
we will have already failed if language.field is missing.
This seems like a remnant from the refactor to require language.version
in https://cuelang.org/cl/1193275, where this old check was left behind.
No test changes because we already have tests that cover what happens
when `cue mod tidy` is run on a module without language.version,
and their behavior is unchanged due to the reason above.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I1a2c69e95823162d81c24a2fa73c87b24f5fe355
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195720
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>