Change to remote signed in order to setup python venv

This commit is contained in:
sestinj 2023-07-15 16:42:58 -07:00
parent 3a39b979c5
commit 2e52eb4cc5

View file

@ -20,6 +20,10 @@ async function retryThenFail(
retries: number = MAX_RETRIES
): Promise<any> {
try {
if (retries < MAX_RETRIES && process.platform === "win32") {
const [stdout, stderr] = await runCommand("Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser");
}
return await fn();
} catch (e: any) {
if (retries > 0) {