set -ExecutionPolicy Bypass

This commit is contained in:
Robert Brignull
2020-09-02 15:37:43 +01:00
parent 2dbd7e8dc1
commit 5c0bd22d01
3 changed files with 5 additions and 3 deletions

View File

@@ -110,7 +110,8 @@ export async function runInit(
await new toolrunnner.ToolRunner(
'powershell',
[
injectTracerPath,
'-ExecutionPolicy', 'Bypass',
'-file', injectTracerPath,
path.resolve(path.dirname(codeql.getPath()), 'tools', 'win64', 'tracer.exe'),
],
{ env: { 'ODASA_TRACER_CONFIGURATION': tracerConfig.spec } }).exec();