Skip to content

Commit a009101

Browse files
committed
fix: use posix path.join
fixes #56
1 parent bc8384e commit a009101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Choose another directory or remove contents.
183183
await render('README.md', data);
184184
await copy('openapi/README.md', openapiRoot);
185185

186-
await render('.redocly.yaml', { mainDefinitionFile: path.join(openapiRoot, 'openapi.yaml') });
186+
await render('.redocly.yaml', { mainDefinitionFile: path.posix.join(openapiRoot, 'openapi.yaml') });
187187

188188
copyDirSync('openapi/components', openapiRoot);
189189
copyDirSync('openapi/paths', openapiRoot);

0 commit comments

Comments
 (0)