Skip to content

Commit 981cf65

Browse files
committed
Always use the cwd of the process when checking for dotnet cli
1 parent 5ef7d01 commit 981cf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr-debug/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class CoreClrDebugUtil
8484
{
8585
let dotnetInfo = new DotnetInfo();
8686

87-
return this.spawnChildProcess('dotnet', ['--info'], this.debugAdapterDir(), (data: Buffer) => {
87+
return this.spawnChildProcess('dotnet', ['--info'], process.cwd(), (data: Buffer) => {
8888
let lines: string[] = data.toString().replace(/\r/mg, '').split('\n');
8989
lines.forEach(line => {
9090
let match: RegExpMatchArray;

0 commit comments

Comments
 (0)