mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 12:48:35 +00:00
world_names: print --out overwrite paths as written, so Windows paths match
The resolve check used !r, which doubles backslashes on Windows, so test_resolve_out_refuses_to_overwrite_an_input failed there (Linux CI paths have none). Other errors in this file already print paths plainly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -573,7 +573,7 @@ def _resolve(args) -> int:
|
||||
for path in (args.dict, *args.maps, *args.archetypes):
|
||||
if _same_report_path(args.out, path):
|
||||
raise ValueError(
|
||||
f"resolve: --out {args.out!r} would overwrite input {path!r}")
|
||||
f"resolve: --out {args.out} would overwrite input {path}")
|
||||
try:
|
||||
dictionary = NameDictionary.from_json(_load_json(args.dict))
|
||||
except ValueError as exc:
|
||||
|
||||
Reference in New Issue
Block a user