1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

Add eslint (#610)

This commit is contained in:
Oscar Hinton
2022-02-22 15:39:11 +01:00
committed by GitHub
parent 479d5db5f1
commit 60878cd4ed
333 changed files with 4509 additions and 3043 deletions

View File

@@ -1,10 +1,10 @@
import { dialog, Menu, MenuItem, shell } from "electron";
import { dialog, shell } from "electron";
import log from "electron-log";
import { autoUpdater } from "electron-updater";
import { isAppImage, isDev, isMacAppStore, isWindowsPortable, isWindowsStore } from "./utils";
import { I18nService } from "jslib-common/abstractions/i18n.service";
import { isAppImage, isDev, isMacAppStore, isWindowsPortable, isWindowsStore } from "./utils";
import { WindowMain } from "./window.main";
const UpdaterCheckInitalDelay = 5 * 1000; // 5 seconds
@@ -123,7 +123,7 @@ export class UpdaterMain {
});
}
async checkForUpdate(withFeedback: boolean = false) {
async checkForUpdate(withFeedback = false) {
if (this.doingUpdateCheck || isDev()) {
return;
}