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:
CowDeV
2026-11-22 14:16:17 +01:00
parent a0acd33d77
commit d233ad26f9

View File

@ -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: