Add doctor cache check and version management to ensure environment validation

This commit is contained in:
crazywhalecc
2026-02-28 10:32:50 +08:00
parent 7623b9e673
commit c218aef947
8 changed files with 94 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ class BuildTargetCommand extends BaseCommand
public function handle(): int
{
$this->checkDoctorCache();
// resolve legacy options to new options
V2CompatLayer::convertOptions($this->input);