Migrate to eslint
This commit is contained in:
parent
0fe7e30398
commit
b4e9c278d3
27 changed files with 104 additions and 71 deletions
|
@ -33,7 +33,7 @@ export async function start(
|
|||
getMainWindow: () => BrowserWindow,
|
||||
locale: LocaleType,
|
||||
logger: LoggerType
|
||||
) {
|
||||
): Promise<void> {
|
||||
logger.info('macos/start: starting checks...');
|
||||
|
||||
loggerForQuitHandler = logger;
|
||||
|
@ -214,8 +214,6 @@ async function handToAutoUpdate(
|
|||
autoUpdater.checkForUpdates();
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
|
||||
return;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -296,7 +294,6 @@ function write404(
|
|||
function getServerUrl(server: Server) {
|
||||
const address = server.address() as AddressInfo;
|
||||
|
||||
// tslint:disable-next-line:no-http-string
|
||||
return `http://127.0.0.1:${address.port}`;
|
||||
}
|
||||
function generateFileUrl(): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue