Reduce scope of disabled more/no-then rule

This commit is contained in:
Daniel Gasienica 2018-03-05 15:00:41 -05:00
parent 18785be639
commit 522b88d0d9

View file

@ -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) {