Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit 9061471

Browse files
committed
dist
1 parent c348864 commit 9061471

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dist/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,12 @@ async function ExecScopeRun(homePath, command, cwd, dsn) {
10311031
if (dsn) {
10321032
envVars[SCOPE_DSN] = dsn;
10331033
}
1034-
await exec.exec(`${homePath}/.dotnet/tools/scope-run`, [ command ], {
1034+
let filename = `${homePath}/.dotnet/tools/scope-run`;
1035+
if (process.platform === "win32") {
1036+
filename = "scope-run";
1037+
}
1038+
console.log("Platform:", process.platform);
1039+
await exec.exec(filename, [ command ], {
10351040
cwd: cwd,
10361041
env: envVars
10371042
});

0 commit comments

Comments
 (0)