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