File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 4
4
import os = require( "os" ) ;
5
5
import path = require( "path" ) ;
6
6
import vscode = require( "vscode" ) ;
7
- import { satisfies } from "semver" ;
8
7
9
8
export const PowerShellLanguageId = "powershell" ;
10
9
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.
16
12
export const ShellIntegrationScript = path . join (
17
13
vscode . env . appRoot ,
18
14
"out" ,
@@ -22,7 +18,7 @@ export const ShellIntegrationScript = path.join(
22
18
"terminal" ,
23
19
"common" ,
24
20
"scripts" ,
25
- shellIntegrationMoved ? "shellIntegration.psm1" : "shellIntegration.ps1" ,
21
+ "shellIntegration.ps1" ,
26
22
) ;
27
23
28
24
export function escapeSingleQuotes ( p : string ) : string {
You can’t perform that action at this time.
0 commit comments