Skip to content

Commit

Permalink
fix(dotnet): try to resolve security hotsopt on execSync
Browse files Browse the repository at this point in the history
  • Loading branch information
asinino committed Mar 3, 2022
1 parent a3bae30 commit a9dc673
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dotnet/src/lib/core/dotnet.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ export class DotNetClient {
}

private execute(params: string[]): Buffer {
return execSync([this.cliCommand.command, ...params].join(' '), {
const command = `${this.cliCommand.command} ${params.join(' ')}`;
return execSync(command, {
stdio: 'inherit',
cwd: this.cwd || process.cwd(),
});
Expand Down

0 comments on commit a9dc673

Please sign in to comment.