Skip to content

Commit c6e2a63

Browse files
committed
updated
1 parent 298c1b8 commit c6e2a63

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/validate_installer_bundle.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _validate_launcher_self_check(bundle_dir: Path) -> None:
122122
if app_dir.is_symlink() or scripts_dir.is_symlink():
123123
raise SystemExit(
124124
"Invalid directory path: symbolic links are not allowed for 'app' or "
125-
"'app/scripts' directories."
125+
"'scripts' directories."
126126
)
127127

128128
resolved_bundle_dir = bundle_dir.resolve()
@@ -132,7 +132,10 @@ def _validate_launcher_self_check(bundle_dir: Path) -> None:
132132
resolved_launcher_path = launcher_path.resolve()
133133
launcher_within_bundle = _is_within(resolved_launcher_path, resolved_bundle_dir)
134134
if not resolved_launcher_path.is_file():
135-
raise SystemExit("Invalid launcher path: expected launch_forge.py to be an existing file.")
135+
raise SystemExit(
136+
"Invalid launcher path: expected launch_forge.py to be an existing file at "
137+
f"{resolved_launcher_path}."
138+
)
136139
if not launcher_within_bundle:
137140
raise SystemExit("Invalid launcher path: launch_forge.py must be inside the bundle directory.")
138141

0 commit comments

Comments
 (0)