fix: name the platform a typo meant in every CLI

slots ended a mistyped --platform on a traceback; generate_truth,
refresh_data_dirs and auto_fetch exited 0 having done nothing for it.
All six now stop on require_platform before any work.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 07:14:38 +02:00
1 parent 803f9dce96
commit 195fb92036
7 files changed
+48 -4

No files matched your search

+2
View File
@@ -19,6 +19,7 @@ from common import (
load_emulator_profiles,
load_platform_config,
load_target_config,
require_platform,
require_yaml,
truth_target_dir,
write_text_atomic,
@@ -88,6 +89,7 @@ def main(argv: list[str] | None = None) -> None:
include_archived=True,
)
else:
require_platform(args.platform, args.platforms_dir)
platforms = [args.platform]
# A target-narrowed model is a different artifact: written under the