File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " csharp" ,
33 "publisher" : " ms-vscode" ,
4- "version" : " 1.1.4 " ,
4+ "version" : " 1.1.5 " ,
55 "description" : " C# for Visual Studio Code (powered by OmniSharp)." ,
66 "displayName" : " C#" ,
77 "author" : " Microsoft Corporation" ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const decompress = require('decompress');
1919
2020const BaseDownloadUrl = 'https://vscodeoscon.blob.core.windows.net/ext' ;
2121const DefaultInstallLocation = path . join ( __dirname , '../.omnisharp' ) ;
22- const OmniSharpVersion = '1.9-beta4 ' ;
22+ const OmniSharpVersion = '1.9-beta5 ' ;
2323
2424tmp . setGracefulCleanup ( ) ;
2525
@@ -108,14 +108,18 @@ export function downloadOmnisharp(output: OutputChannel): Promise<boolean> {
108108 output . appendLine ( `[INFO] Done! ${ files . length } files unpacked.` )
109109 return resolve ( true ) ;
110110 } )
111- . error ( err => {
111+ . catch ( err => {
112112 output . appendLine ( `[ERROR] ${ err } ` ) ;
113113 return reject ( err ) ;
114114 } ) ;
115115 } ) ;
116116
117117 inStream . pipe ( outStream ) ;
118118 } ) ;
119+ } )
120+ . catch ( err =>
121+ {
122+ output . appendLine ( `[ERROR] ${ err } ` ) ;
119123 } ) ;
120124 } ) ;
121125}
You can’t perform that action at this time.
0 commit comments