Skip to content

Commit 22f7231

Browse files
bhavyausconnor4312
andauthored
Iterate over object entries (microsoft#178164)
* Iterate over object entries * Update src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.ts Co-authored-by: Connor Peet <[email protected]> --------- Co-authored-by: Connor Peet <[email protected]>
1 parent 45486ba commit 22f7231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class FeaturedExtensionsService extends Disposable implements IFeaturedEx
9999

100100
if (this.treatment) {
101101
const installed = await this.extensionManagementService.getInstalled();
102-
for (const extension of this.treatment.extensions) {
102+
for (const extension of Object.values(this.treatment.extensions)) {
103103
if (installed.some(e => ExtensionIdentifier.equals(e.identifier.id, extension))) {
104104
this.ignoredExtensions.add(extension);
105105
}

0 commit comments

Comments
 (0)