bumped eslint

This commit is contained in:
Eugene Pankov
2022-12-05 12:16:27 +01:00
parent b0600b10cc
commit 98476df882
40 changed files with 750 additions and 381 deletions

View File

@@ -78,7 +78,7 @@ export class ElectronDockingService extends DockingService {
getScreens (): Screen[] {
const primaryDisplayID = this.electron.screen.getPrimaryDisplay().id
return this.electron.screen.getAllDisplays().sort((a, b) =>
a.bounds.x === b.bounds.x ? a.bounds.y - b.bounds.y : a.bounds.x - b.bounds.x
a.bounds.x === b.bounds.x ? a.bounds.y - b.bounds.y : a.bounds.x - b.bounds.x,
).map((display, index) => {
return {
...display,

View File

@@ -135,7 +135,7 @@ export class ElectronUpdaterService extends UpdaterService {
],
defaultId: 0,
cancelId: 1,
}
},
)).response === 0) {
await this.downloaded
this.autoUpdater.quitAndInstall()

View File

@@ -178,7 +178,7 @@ export class PrivateKeyLocator extends AutoPrivateKeyLocator {
if (/^id_[\w\d]+$/.test(file)) {
const privateKeyContents = await fs.readFile(
path.join(keysPath, file),
{ encoding: null }
{ encoding: null },
)
results.push([file, privateKeyContents])
}