Does not create subdirectories
xeruf opened this issue · comments
Janek commented
I keep getting errors like this:
{ stdout: '',
stderr:
'pandoc: Markdown/Software-Challenge-:-Styleguide-/-allgemeine-Richtlinien.md: openFile: does not exist (No such file or directory)\n',
status: 1 }
Reading : Markdown/Software-Challenge-:-Styleguide-/-allgemeine-Richtlinien.md
fs.js:115
throw err;
^
Error: ENOENT: no such file or directory, open 'Markdown/Software-Challenge-:-Styleguide-/-allgemeine-Richtlinien.md'
at Object.openSync (fs.js:436:3)
at Object.readFileSync (fs.js:341:35)
at /usr/lib/node_modules/confluence-to-github-markdown/Confluence-html-to-github-markdown.js:52:28
at Array.forEach (<anonymous>)
at dive (/usr/lib/node_modules/confluence-to-github-markdown/Confluence-html-to-github-markdown.js:27:8)
at Object.<anonymous> (/usr/lib/node_modules/confluence-to-github-markdown/Confluence-html-to-github-markdown.js:20:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
However, as soon as I create that directory, everything runs fine, so apparently this program fails to create subdirectories when necessary.