File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { satisfies } from "semver";
99export 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} ) ;
1616export 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
2828export function escapeSingleQuotes ( p : string ) : string {
You can’t perform that action at this time.
0 commit comments