From 48e565079c229836000f904954cdf25160f0ebc5 Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 9 Nov 2017 07:26:11 +0800 Subject: [PATCH] Fix: reindent promise --- edit/lint.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/edit/lint.js b/edit/lint.js index 8c9622f2..7ac4dd9c 100644 --- a/edit/lint.js +++ b/edit/lint.js @@ -159,8 +159,10 @@ function updateLinter({immediately, linter = linterConfig.getDefault()} = {}) { } const GUTTERS_CLASS = 'CodeMirror-lint-markers'; - Promise.all([linterConfig.init(), loadLinterAssets(linter)]) - .then(updateEditors); + Promise.all([ + linterConfig.init(), + loadLinterAssets(linter) + ]).then(updateEditors); $('#linter-settings').style.display = !linter ? 'none' : 'inline-block'; $('#lint').style.display = 'none';