akosbalasko / akosbalasko/yarle
enexSources does not allow multiple .enex files
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Using 5.0.11
with the following in the `config.json`
```
"enexSources": [
"/Users/ecerulm/Downloads/evernote2023-03-18/boardgames.enex",
],
```
it works,
As soon as I add a second file:
```
"enexSources": [
"/Users/ecerulm/Downloads/evernote2023-03-18/boardgames.enex",
"/Users/ecerulm/Downloads/evernote2023-03-18/macos.enex"
],
```
then it assumes each path is a directory not an ENEX files and fails with
```
npx -p yarle-evernote-to-md@5.0.11 yarle --configFile config_macos.json
...
node:fs:1438
handleErrorFromBinding(ctx);
^
Error: ENOTDIR: not a directory, scandir '/Users/ecerulm/Downloads/evernote2023-03-18/boardgames.enex'
at Object.readdirSync (node:fs:1438:3)
at Object.run (/Users/ecerulm/.npm/_npx/cc64087a51a90dbd/node_modules/yarle-evernote-to-md/dist/dropTheRopeRunner.js:51:14)
at Object. (/Users/ecerulm/.npm/_npx/cc64087a51a90dbd/node_modules/yarle-evernote-to-md/dist/dropTheRope.js:30:19)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
errno: -20,
syscall: 'scandir',
code: 'ENOTDIR',
path: '/Users/ecerulm/Downloads/evernote2023-03-18/boardgames.enex'
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.