Skip to content

Commit 7909d35

Browse files
committed
Remove unnecssary conditional
1 parent ea7a672 commit 7909d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/omnisharp/OmnisharpDownloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class OmnisharpDownloader {
2828
let runtimeDependencies = getRuntimeDependenciesPackages(this.packageJSON);
2929
let omniSharpPackages = GetPackagesFromVersion(version, useFramework, runtimeDependencies, serverUrl, installPath);
3030
let packagesToInstall = await getAbsolutePathPackagesToInstall(omniSharpPackages, this.platformInfo, this.extensionPath);
31-
if (packagesToInstall && packagesToInstall.length > 0) {
31+
if (packagesToInstall.length > 0) {
3232
this.eventStream.post(new PackageInstallation(`OmniSharp Version = ${version}`));
3333
this.eventStream.post(new LogPlatformInfo(this.platformInfo));
3434
if (await downloadAndInstallPackages(packagesToInstall, this.networkSettingsProvider, this.eventStream, isValidDownload, useFramework)) {

0 commit comments

Comments
 (0)