mirror of
https://github.com/azure/login.git
synced 2026-03-15 09:20:56 -04:00
fix: wrap PowerShellToolRunner.psPath in "" (#31)
This commit is contained in:
committed by
GitHub
parent
358ee2b773
commit
eeeade0627
@@ -11,6 +11,6 @@ export default class PowerShellToolRunner {
|
||||
}
|
||||
|
||||
static async executePowerShellScriptBlock(scriptBlock: string, options: any = {}) {
|
||||
await exec.exec(`${PowerShellToolRunner.psPath} -Command`, [scriptBlock], options)
|
||||
await exec.exec(`"${PowerShellToolRunner.psPath}" -Command`, [scriptBlock], options)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user