File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments