Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2111428

Browse files
Find shell integration module (#5217)
1 parent 58aa029 commit 2111428

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/utils.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { satisfies } from "semver";
99
export const PowerShellLanguageId = "powershell";
1010

1111
// Path to the shell integration script in the VS Code installation
12-
// See https://github.com/microsoft/vscode/pull/227244
13-
const shellIntegrationMoved = satisfies(vscode.version, ">=1.94", {
12+
// See https://github.com/microsoft/vscode/pull/251303
13+
const shellIntegrationMoved = satisfies(vscode.version, ">=1.102", {
1414
includePrerelease: true,
1515
});
1616
export const ShellIntegrationScript = path.join(
@@ -20,9 +20,9 @@ export const ShellIntegrationScript = path.join(
2020
"workbench",
2121
"contrib",
2222
"terminal",
23-
shellIntegrationMoved ? "common" : "browser",
24-
shellIntegrationMoved ? "scripts" : "media",
25-
"shellIntegration.ps1",
23+
"common",
24+
"scripts",
25+
shellIntegrationMoved ? "shellIntegration.psm1" : "shellIntegration.ps1",
2626
);
2727

2828
export function escapeSingleQuotes(p: string): string {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /