(scriptBlock_1)
| 8257 | }); |
| 8258 | } |
| 8259 | static executePowerShellScriptBlock(scriptBlock_1) { |
| 8260 | return __awaiter(this, arguments, void 0, function* (scriptBlock, options = {}) { |
| 8261 | yield PowerShellToolRunner.init(); |
| 8262 | const exitCode = yield exec.exec(`"${PowerShellToolRunner.psPath}" -NoLogo -NoProfile -NonInteractive -Command`, [scriptBlock], options); |
| 8263 | return exitCode; |
| 8264 | }); |
| 8265 | } |
| 8266 | } |
| 8267 | exports["default"] = PowerShellToolRunner; |
| 8268 |
no test coverage detected