Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
forgot to wait for the remove to be completed
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 19, 2019
1 parent 5e35e9f commit 7b04bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export class ExtensionInfo {
public publisherName: string,
public version: string,
public name: string
) {}
) { }
}

class ExtensionHelper {
public constructor(
private context: vscode.ExtensionContext,
private settings: SettingsHelper,
private config: Config
) {}
) { }

public getInstalled() {
let ignoredExtensions = this.config.getIgnoredExtensions();
Expand Down Expand Up @@ -110,7 +110,7 @@ class ExtensionHelper {
`Removing ${ext.name} (${i + 1} of ${extensionsToRemove.length})`
);
logger.appendLine("");
this.removeExtension(ext, logger);
return this.removeExtension(ext, logger);
});

await Promise.all(removes);
Expand Down

0 comments on commit 7b04bb2

Please # to comment.