Fix indexing files in sub-folders on the Desktop app

- `fs.readdir' func in node version 18.18.2 has buggy `recursive' option
  See nodejs/node#48640, effect-ts/effect#1801 for details

- We were recursing down a folder in two ways on the Desktop app.
  Remove `recursive: True' option to the `fs.readdirSync' method call
  to recurse down via app code only
This commit is contained in:
Debanjum Singh Solanky
2024-04-09 16:03:25 +05:30
parent a8dec1c9d5
commit f040418cf1
3 changed files with 6 additions and 12 deletions

View File

@@ -20,7 +20,6 @@
"axios": "^1.6.4",
"cron": "^2.4.3",
"electron-store": "^8.1.0",
"fs": "^0.0.1-security",
"file-type": "^16.2.0"
}
}