misc/ Upgrade eslint version

This commit is contained in:
Maxime GRIS
2021-11-17 16:06:15 +01:00
parent 99e9f35b37
commit 4321d9d2b2
6 changed files with 240 additions and 321 deletions

View File

@@ -15,10 +15,6 @@ export class ElectronService {
childProcess: typeof childProcess;
fs: typeof fs;
get isElectron(): boolean {
return !!(window && window.process && window.process.type);
}
constructor() {
// Conditional imports
if (this.isElectron) {
@@ -41,4 +37,8 @@ export class ElectronService {
// https://www.electronjs.org/docs/latest/api/ipc-renderer#ipcrendererinvokechannel-args
}
}
get isElectron(): boolean {
return !!(window && window.process && window.process.type);
}
}