This repository was archived by the owner on Nov 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +47
-35
lines changed Expand file tree Collapse file tree 4 files changed +47
-35
lines changed Original file line number Diff line number Diff line change 10
10
"theme" : " dark"
11
11
},
12
12
"engines" : {
13
- "vscode" : " ^1.36 .0"
13
+ "vscode" : " ^1.43 .0"
14
14
},
15
15
"license" : " (MIT OR Apache-2.0)" ,
16
16
"repository" : {
50
50
"installDevExtension" : " npm install && ./node_modules/.bin/vsce package -o ./out/rls-vscode-dev.vsix && code --install-extension ./out/rls-vscode-dev.vsix"
51
51
},
52
52
"dependencies" : {
53
- "vscode-languageclient" : " ^4.3 .0"
53
+ "vscode-languageclient" : " ^6.0 .0"
54
54
},
55
55
"devDependencies" : {
56
56
"@types/chai" : " ^4.2.11" ,
57
57
"@types/glob" : " ^7.1.1" ,
58
58
"@types/mocha" : " ^5.2.6" ,
59
- "@types/node" : " ^10.10 " ,
60
- "@types/vscode" : " ^1.31 .0" ,
59
+ "@types/node" : " ^12.8.1 " ,
60
+ "@types/vscode" : " ^1.43 .0" ,
61
61
"chai" : " ^4.2.0" ,
62
62
"glob" : " ^7.1.4" ,
63
63
"mocha" : " ^6.2.3" ,
64
- "prettier" : " ^1.16.4 " ,
64
+ "prettier" : " ^1.19.1 " ,
65
65
"tslint" : " ^5.14.0" ,
66
66
"tslint-config-prettier" : " ^1.18.0" ,
67
- "typescript" : " ^3.0.0 " ,
67
+ "typescript" : " ^3.8.3 " ,
68
68
"vsce" : " ^1.63.0" ,
69
69
"vscode-test" : " ^1.3.0"
70
70
},
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ export class ClientWorkspace {
433
433
if ( this . config . logToFile ) {
434
434
const logPath = path . join ( this . folder . uri . fsPath , `rls${ Date . now ( ) } .log` ) ;
435
435
const logStream = fs . createWriteStream ( logPath , { flags : 'w+' } ) ;
436
- childProcess . stderr . pipe ( logStream ) ;
436
+ childProcess . stderr ? .pipe ( logStream ) ;
437
437
}
438
438
439
439
return childProcess ;
Original file line number Diff line number Diff line change @@ -85,7 +85,11 @@ async function fetchBriefTasks(): Promise<
85
85
return tasks . map ( task => ( {
86
86
subcommand : task . definition . subcommand ,
87
87
group : task . group ,
88
- cwd : task . execution && task . execution . options && task . execution . options . cwd ,
88
+ cwd :
89
+ ( ( task . execution instanceof vscode . ProcessExecution ||
90
+ task . execution instanceof vscode . ShellExecution ) &&
91
+ task . execution ?. options ?. cwd ) ||
92
+ undefined ,
89
93
} ) ) ;
90
94
}
91
95
You can’t perform that action at this time.
0 commit comments