Skip to content

Commit a1f4c8e

Browse files
committed
Revert "DEBUG: add extensive debug info for CI"
This reverts commit 1c388fa.
1 parent b48b264 commit a1f4c8e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lint/provider.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,12 @@ export class FortranLintingProvider {
341341
// Discard the previous diagnostic state for this document
342342
if (this.fortranDiagnostics.has(document.uri)) this.fortranDiagnostics.delete(document.uri);
343343
this.logger.debug('[lint] No linting diagnostics to show');
344-
console.log('[lint] No linting diagnostics to show');
345344
return;
346345
}
347346
let diagnostics: vscode.Diagnostic[] = this.linter.parse(output);
348-
console.log('[lint] Parsing output to vscode.Diagnostics', diagnostics);
349347
this.logger.debug('[lint] Parsing output to vscode.Diagnostics', diagnostics);
350348
// Remove duplicates from the diagnostics array
351349
diagnostics = [...new Map(diagnostics.map(v => [JSON.stringify(v), v])).values()];
352-
console.log('[lint] Removing duplicates. vscode.Diagnostics are now:', diagnostics);
353350
this.logger.debug('[lint] Removing duplicates. vscode.Diagnostics are now:', diagnostics);
354351
this.fortranDiagnostics.set(document.uri, diagnostics);
355352
return diagnostics;
@@ -380,8 +377,6 @@ export class FortranLintingProvider {
380377
`[build.single] compiler: "${this.settings.compiler}" located in: "${command}"`
381378
);
382379
this.logger.info(`[build.single] Compiler query command line: ${command} ${argList.join(' ')}`);
383-
console.log(`[build.single] compiler: "${this.settings.compiler}" located in: "${command}"`);
384-
console.log(`[build.single] Compiler query command line: ${command} ${argList.join(' ')}`);
385380

386381
try {
387382
const fypp = await this.getFyppProcess(document);
@@ -397,7 +392,6 @@ export class FortranLintingProvider {
397392
);
398393
const output: string = stdout + stderr;
399394
this.logger.debug(`[build.single] Compiler output:\n${output}`);
400-
console.log(`[build.single] Compiler output:\n${output}`);
401395
return output;
402396
} catch (err) {
403397
this.logger.error(`[build.single] Compiler error:`, err);

0 commit comments

Comments
 (0)