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

3
lib/init.js generated
View file

@ -68,7 +68,8 @@ async function runInit(codeql, config) {
Invoke-Expression "&$tracer --inject=$id"`);
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();
}