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

Commit

Permalink
dist
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyredondo committed Nov 27, 2019
1 parent c348864 commit 9061471
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,12 @@ async function ExecScopeRun(homePath, command, cwd, dsn) {
if (dsn) {
envVars[SCOPE_DSN] = dsn;
}
await exec.exec(`${homePath}/.dotnet/tools/scope-run`, [ command ], {
let filename = `${homePath}/.dotnet/tools/scope-run`;
if (process.platform === "win32") {
filename = "scope-run";
}
console.log("Platform:", process.platform);
await exec.exec(filename, [ command ], {
cwd: cwd,
env: envVars
});
Expand Down

0 comments on commit 9061471

Please sign in to comment.