File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
codemirror-ls/src/extensions Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments