From ae09abf1f5935706c7cd681c6fcb8021a7043625 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 6 Jun 2023 00:26:41 +0200 Subject: [PATCH] - --- libs/filer/workspace_files_client.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/filer/workspace_files_client.go b/libs/filer/workspace_files_client.go index 7111d2678..12e644ccd 100644 --- a/libs/filer/workspace_files_client.go +++ b/libs/filer/workspace_files_client.go @@ -223,11 +223,6 @@ func (w *WorkspaceFilesClient) ReadDir(ctx context.Context, name string) ([]fs.D Path: absPath, }) - // TODO: add integration test for this - if len(objects) == 1 && objects[0].Path == absPath { - return nil, NotADirectory{absPath} - } - if err != nil { // If we got an API error we deal with it below. var aerr *apierr.APIError