Skip to content

Commit 65fa1f9

Browse files
committed
Format
1 parent f0a7197 commit 65fa1f9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

codemirror-ls/src/extensions/linting.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ export const getLintingExtensions: LSExtensionGetter<DiagnosticArgs> = ({
109109
const diagnosticResults = params.diagnostics.map((diagnostic) =>
110110
// We hand it the signal since we are debouncing requesting actions, and we can
111111
// not end up requesting actions for old diagnostics this way.
112-
this.lazyLoadCodemirrorDiagnostic(diagnostic, newCodeActionQueryAbortController.signal),
112+
this.lazyLoadCodemirrorDiagnostic(
113+
diagnostic,
114+
newCodeActionQueryAbortController.signal,
115+
),
113116
);
114117

115118
const diagnosticsWithoutActions = diagnosticResults.map(
@@ -148,7 +151,7 @@ export const getLintingExtensions: LSExtensionGetter<DiagnosticArgs> = ({
148151
* If there are no actions, the lazy diagnostic is returned as the same
149152
* object identity as the original one (so you can avoid duplicate
150153
* dispatches by checking for equality).
151-
*
154+
*
152155
* @param diagnostic The LSP Diagnostic to convert.
153156
* @param signal An AbortSignal that can be used to cancel the code
154157
* action request. It will cause the returned Promise to instantly

0 commit comments

Comments
 (0)