fix: Remove unnecessary async (#202)
This commit is contained in:
parent
912aa752f3
commit
b55ab576ef
|
@ -49,7 +49,7 @@ export class PowerMonitorMain {
|
|||
// TODO: System locked
|
||||
}
|
||||
|
||||
private async getLockOption(): Promise<number> {
|
||||
return await this.main.storageService.get<number>(ConstantsService.lockOptionKey);
|
||||
private getLockOption(): Promise<number> {
|
||||
return this.main.storageService.get<number>(ConstantsService.lockOptionKey);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue