Skip to content

Commit

Permalink
Add missing await to override state
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Feb 21, 2025
1 parent ea3ce68 commit 7279669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/components/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class ComponentManager {
if (!installed || !sameVersion || installed.state === `NotChecked`) {
await newComponent.check();
} else {
newComponent.overrideState(installed.state);
await newComponent.overrideState(installed.state);
}

this.registered.set(component.getIdentification().name, newComponent);
Expand Down

0 comments on commit 7279669

Please sign in to comment.