Skip to content

Commit 298c1b8

Browse files
committed
updated
1 parent cd2f156 commit 298c1b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/validate_installer_bundle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ def _validate_launcher_self_check(bundle_dir: Path) -> None:
181181
if isinstance(report, dict)
182182
else f"report_type={type(report).__name__!r}"
183183
)
184-
if not report.get("installed_layout"):
184+
if report.get("installed_layout") is not True:
185185
raise SystemExit(
186186
"Invalid launcher self-check: installer bundle was not recognized as an installed layout "
187187
f"(installed_layout={report.get('installed_layout')!r}, {report_summary})."
188188
)
189-
if not report.get("ready"):
189+
if report.get("ready") is not True:
190190
raise SystemExit(
191191
"Invalid launcher self-check: installer bundle was not marked as ready "
192192
f"(ready={report.get('ready')!r}, {report_summary})."

0 commit comments

Comments
 (0)