Merge branch 'main' of https://github.com/continuedev/continue
This commit is contained in:
commit
c31d8e003a
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import * as vscode from "vscode";
|
|||
import fkill from "fkill";
|
||||
import { sendTelemetryEvent, TelemetryEvent } from "../telemetry";
|
||||
|
||||
const MAX_RETRIES = 5;
|
||||
const MAX_RETRIES = 0;
|
||||
async function retryThenFail(
|
||||
fn: () => Promise<any>,
|
||||
retries: number = MAX_RETRIES
|
||||
|
|
@ -195,7 +195,7 @@ async function setupPythonEnv() {
|
|||
if (checkEnvExists()) {
|
||||
break;
|
||||
} else if (stderr) {
|
||||
if (stderr.includes("Running Scripts is Disabled on this System")) {
|
||||
if (stderr.includes("running scripts is disabled on this system")) {
|
||||
vscode.window.showErrorMessage(
|
||||
"A Python virtual enviroment cannot be activated because running scripts is disabled for this user. Please enable signed scripts to run with this command in PowerShell: `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser`, reload VS Code, and then try again."
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue