diff --git a/Extension/PesterTask/src/pester.ts b/Extension/PesterTask/src/pester.ts index 478b3a0..4273679 100644 --- a/Extension/PesterTask/src/pester.ts +++ b/Extension/PesterTask/src/pester.ts @@ -94,7 +94,7 @@ export async function run() { logInfo(`${executable} ${args.join(" ")}`); var spawn = require("child_process").spawn, child; - child = spawn(executable, args, {windowsVerbatimArguments: true}); + child = spawn(executable, args); child.stdout.on("data", function (data) { logInfo(data.toString()); }); diff --git a/Extension/PesterTask/src/pesterv10.ts b/Extension/PesterTask/src/pesterv10.ts index 531fdb4..3c3232d 100644 --- a/Extension/PesterTask/src/pesterv10.ts +++ b/Extension/PesterTask/src/pesterv10.ts @@ -45,7 +45,7 @@ export async function run() { } // we need to not pass the null param - var args = [__dirname + "\\Pester.ps1", + var args = ['"' + __dirname + "/Pester.ps1" + '"', "-TestFolder", TestFolder, "-resultsFile", resultsFile, "-run32Bit", run32Bit, diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7120d82..a2643b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -81,6 +81,8 @@ stages: jobs: - deployment: validate displayName: Validate publish + pool: + vmImage: windows-latest environment: pester strategy: runOnce: