Reduce scope of disabled more/no-then
rule
This commit is contained in:
2
main.js
2
main.js
@@ -426,6 +426,7 @@ app.on('ready', () => {
|
|||||||
logging.initialize().catch((error) => {
|
logging.initialize().catch((error) => {
|
||||||
loggingSetupError = error;
|
loggingSetupError = error;
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
/* eslint-enable more/no-then */
|
||||||
logger = logging.getLogger();
|
logger = logging.getLogger();
|
||||||
logger.info('app ready');
|
logger.info('app ready');
|
||||||
|
|
||||||
@@ -450,7 +451,6 @@ app.on('ready', () => {
|
|||||||
|
|
||||||
setupMenu();
|
setupMenu();
|
||||||
});
|
});
|
||||||
/* eslint-enable more/no-then */
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function setupMenu(options) {
|
function setupMenu(options) {
|
||||||
|
Reference in New Issue
Block a user