We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3401097 commit 77f70fdCopy full SHA for 77f70fd
packages/doxdox-renderer-github-wiki/src/index.ts
@@ -1,3 +1,5 @@
1
+import { join } from 'path';
2
+
3
import admzip from 'adm-zip';
4
5
import { markdownTable } from 'markdown-table';
@@ -39,7 +41,7 @@ export default async (doc: Doc): Promise<string | Buffer> => {
39
41
Promise.all(
40
42
file.methods.map(async method =>
43
zip.addFile(
- `${file.path}/${method.name}.md`,
44
+ join(file.path, `${method.name}.md`),
45
Buffer.from(renderMethod(method), 'utf-8')
46
)
47
0 commit comments