Skip to content

Commit

Permalink
fix: path join by path.delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsii committed Jul 2, 2023
1 parent 738f427 commit 19f7d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swagger2ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function checkJava() {
}

const cmdV3 = `-cp ${pluginsPath}/v3/myClientCodegen-swagger-codegen-1.0.0.jar${
process.platform === 'darwin' ? ':' : ';'
path.delimiter
}${pluginsPath}/v3/swagger-codegen-cli.jar io.swagger.codegen.v3.cli.SwaggerCodegen`;
const cmdV2 = `-jar ${generatorPath}`;

Expand Down

0 comments on commit 19f7d58

Please sign in to comment.