fix: respect filter in find() options

This commit is contained in:
Andy Burke 2025-11-06 23:35:12 -08:00
parent b3248ae431
commit 6746594497
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@andyburke/fsdb",
"version": "1.2.3",
"version": "1.2.4",
"license": "MIT",
"exports": {
".": "./fsdb.ts",

View file

@ -122,7 +122,7 @@ export class FSDB_INDEXER_SYMLINKS<T> implements FSDB_INDEXER<T> {
return false;
}
return true;
return options?.filter ? options?.filter(entry) : true;
},
sort: options?.sort
})