File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import os = require( "os" ) ;
55import path = require( "path" ) ;
66import vscode = require( "vscode" ) ;
7- import { satisfies } from "semver" ;
87
98export const PowerShellLanguageId = "powershell" ;
109
11- // Path to the shell integration script in the VS Code installation
12- // See https://github.com/microsoft/vscode/pull/251303
13- const shellIntegrationMoved = satisfies ( vscode . version , ">=1.102" , {
14- includePrerelease : true ,
15- } ) ;
10+ // Path to the shell integration script in the VS Code installation.
11+ // See commit 21114288b if it moves again.
1612export const ShellIntegrationScript = path . join (
1713 vscode . env . appRoot ,
1814 "out" ,
@@ -22,7 +18,7 @@ export const ShellIntegrationScript = path.join(
2218 "terminal" ,
2319 "common" ,
2420 "scripts" ,
25- shellIntegrationMoved ? "shellIntegration.psm1" : "shellIntegration.ps1" ,
21+ "shellIntegration.ps1" ,
2622) ;
2723
2824export function escapeSingleQuotes ( p : string ) : string {
You can’t perform that action at this time.
0 commit comments