Skip to content

Commit eb71563

Browse files
committed
refactor: properly outputs diagnostics on logs
1 parent 815dd55 commit eb71563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/linter-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class FortranLintingProvider {
102102
compilerOutput += data;
103103
});
104104
childProcess.stderr.on('end', () => {
105-
this.logger.debug(`[lint] Compiler output:`, compilerOutput);
105+
this.logger.debug(`[lint] Compiler output:\n${compilerOutput}`);
106106
let diagnostics = this.getLinterResults(compilerOutput);
107107
diagnostics = [...new Map(diagnostics.map(v => [JSON.stringify(v), v])).values()];
108108
this.diagnosticCollection.set(textDocument.uri, diagnostics);

0 commit comments

Comments
 (0)