Skip to content

Commit 3e80214

Browse files
Update extension version and update OmniSharp to v1.9-beta5
1 parent 7bdd90c commit 3e80214

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

src/omnisharpDownload.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const decompress = require('decompress');
1919

2020
const BaseDownloadUrl = 'https://vscodeoscon.blob.core.windows.net/ext';
2121
const DefaultInstallLocation = path.join(__dirname, '../.omnisharp');
22-
const OmniSharpVersion = '1.9-beta4';
22+
const OmniSharpVersion = '1.9-beta5';
2323

2424
tmp.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
}

0 commit comments

Comments
 (0)