Fix: reindent promise
This commit is contained in:
parent
eef17cc4f8
commit
48e565079c
|
@ -159,8 +159,10 @@ function updateLinter({immediately, linter = linterConfig.getDefault()} = {}) {
|
||||||
}
|
}
|
||||||
const GUTTERS_CLASS = 'CodeMirror-lint-markers';
|
const GUTTERS_CLASS = 'CodeMirror-lint-markers';
|
||||||
|
|
||||||
Promise.all([linterConfig.init(), loadLinterAssets(linter)])
|
Promise.all([
|
||||||
.then(updateEditors);
|
linterConfig.init(),
|
||||||
|
loadLinterAssets(linter)
|
||||||
|
]).then(updateEditors);
|
||||||
$('#linter-settings').style.display = !linter ? 'none' : 'inline-block';
|
$('#linter-settings').style.display = !linter ? 'none' : 'inline-block';
|
||||||
$('#lint').style.display = 'none';
|
$('#lint').style.display = 'none';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user