From b55ab576ef644f439157662c9702d2e6793383f0 Mon Sep 17 00:00:00 2001 From: Florian Keller Date: Mon, 28 Jan 2019 00:04:01 +0100 Subject: [PATCH] fix: Remove unnecessary async (#202) --- src/main/powerMonitor.main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/powerMonitor.main.ts b/src/main/powerMonitor.main.ts index 848b2eb895d..5790bbc54ff 100644 --- a/src/main/powerMonitor.main.ts +++ b/src/main/powerMonitor.main.ts @@ -49,7 +49,7 @@ export class PowerMonitorMain { // TODO: System locked } - private async getLockOption(): Promise { - return await this.main.storageService.get(ConstantsService.lockOptionKey); + private getLockOption(): Promise { + return this.main.storageService.get(ConstantsService.lockOptionKey); } }