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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user