Skip to content

Commit e24e59a

Browse files
authored
Merge pull request #8413 from tangledbytes/utkarsh/fix/version-listing
[NSFS] Fix version listing
2 parents 80c3f7a + 10db059 commit e24e59a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sdk/namespace_fs.js

-4
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,6 @@ class NamespaceFS {
811811
}
812812
for (let i = marker_index; i < sorted_entries.length; ++i) {
813813
const ent = sorted_entries[i];
814-
if (list_versions && marker_curr) {
815-
const ent_name = _get_filename(ent.name);
816-
if (ent_name !== marker_curr) break;
817-
}
818814
// when entry is NSFS_FOLDER_OBJECT_NAME=.folder file,
819815
// and the dir key marker is the name of the curr directory - skip on adding it
820816
if (ent.name === config.NSFS_FOLDER_OBJECT_NAME && dir_key === marker_dir) {

0 commit comments

Comments
 (0)