Skip to content

Commit

Permalink
set -ExecutionPolicy Bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brignull committed Sep 2, 2020
1 parent 2dbd7e8 commit 5c0bd22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/init.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5c0bd22

Please sign in to comment.