Skip to content

Commit

Permalink
fix: use posix path.join
Browse files Browse the repository at this point in the history
fixes #56
  • Loading branch information
RomanHotsiy committed Jul 14, 2020
1 parent bc8384e commit a009101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Choose another directory or remove contents.
await render('README.md', data);
await copy('openapi/README.md', openapiRoot);

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

copyDirSync('openapi/components', openapiRoot);
copyDirSync('openapi/paths', openapiRoot);
Expand Down

0 comments on commit a009101

Please sign in to comment.