Reduce scope of disabled more/no-then
rule
This commit is contained in:
parent
18785be639
commit
522b88d0d9
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -426,6 +426,7 @@ app.on('ready', () => {
|
|||
logging.initialize().catch((error) => {
|
||||
loggingSetupError = error;
|
||||
}).then(() => {
|
||||
/* eslint-enable more/no-then */
|
||||
logger = logging.getLogger();
|
||||
logger.info('app ready');
|
||||
|
||||
|
@ -450,7 +451,6 @@ app.on('ready', () => {
|
|||
|
||||
setupMenu();
|
||||
});
|
||||
/* eslint-enable more/no-then */
|
||||
});
|
||||
|
||||
function setupMenu(options) {
|
||||
|
|
Loading…
Reference in a new issue