chore: prettier formatter drift across recent commits

Prettier reformatting on files touched in the wave 11.B sequence —
markdown italics _underscore-style_, single-line conditionals, minor
whitespace fixes. No semantic changes. .env.example reformatting left
unstaged (blocked by pre-commit hook).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 10:57:37 +02:00
parent 286eb51f81
commit 5422f11747
10 changed files with 82 additions and 95 deletions

View File

@@ -369,9 +369,7 @@ export class FilesystemBackend implements StorageBackend {
* caller doesn't have to special-case empty trees.
*/
async listByPrefix(prefix: string): Promise<string[]> {
const startAbs = prefix
? this.resolveKey(prefix.replace(/\/+$/, ''))
: this.rootResolved;
const startAbs = prefix ? this.resolveKey(prefix.replace(/\/+$/, '')) : this.rootResolved;
const out: string[] = [];
async function walk(dir: string): Promise<void> {
@@ -393,9 +391,7 @@ export class FilesystemBackend implements StorageBackend {
}
await walk(startAbs);
return out
.map((abs) => path.relative(this.rootResolved, abs).split(path.sep).join('/'))
.sort();
return out.map((abs) => path.relative(this.rootResolved, abs).split(path.sep).join('/')).sort();
}
/** Used by the proxy route — returns the validated absolute path. */