From 5a994cd8662803b6b698af36674beb9b8e51864a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 23 Jun 2026 16:11:10 +0000 Subject: [PATCH] Format workspace entries browse filter Co-authored-by: Julius Marminge --- apps/server/src/workspace/WorkspaceEntries.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/server/src/workspace/WorkspaceEntries.ts b/apps/server/src/workspace/WorkspaceEntries.ts index 71db8811d3..5917977b7a 100644 --- a/apps/server/src/workspace/WorkspaceEntries.ts +++ b/apps/server/src/workspace/WorkspaceEntries.ts @@ -206,10 +206,7 @@ export const make = Effect.gen(function* () { const lowerPrefix = prefix.toLowerCase(); const entries: Array<{ readonly name: string; readonly fullPath: string }> = []; for (const name of entryNames) { - if ( - name.toLowerCase().startsWith(lowerPrefix) && - (showHidden || !name.startsWith(".")) - ) { + if (name.toLowerCase().startsWith(lowerPrefix) && (showHidden || !name.startsWith("."))) { const fullPath = path.join(parentPath, name); const info = yield* fileSystem.stat(fullPath).pipe(Effect.option); if (Option.isNone(info) || info.value.type !== "Directory") {