Merge branch 'main' into P11c
check / check (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s

This commit is contained in:
swaits committed 2026-10-30 01:24:10 -06:00
commit 1c88667ade
3 files changed
+22 -5

No files matched your search

+7 -1
View File
@@ -15,7 +15,13 @@ fn names(dir: &Path) -> Vec<String> {
if p.is_dir() {
walk(base, &p, out);
} else {
out.push(p.strip_prefix(base).unwrap().to_string_lossy().into_owned());
// One spelling on every OS (Windows walks with backslashes).
out.push(
p.strip_prefix(base)
.unwrap()
.to_string_lossy()
.replace('\\', "/"),
);
}
}
}