mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Add eslint (#610)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user