Skip to content

Commit

Permalink
Revert "DEBUG: add extensive debug info for CI"
Browse files Browse the repository at this point in the history
This reverts commit 1c388fa.
  • Loading branch information
gnikit committed May 6, 2024
1 parent b48b264 commit a1f4c8e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lint/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,12 @@ export class FortranLintingProvider {
// Discard the previous diagnostic state for this document
if (this.fortranDiagnostics.has(document.uri)) this.fortranDiagnostics.delete(document.uri);
this.logger.debug('[lint] No linting diagnostics to show');
console.log('[lint] No linting diagnostics to show');
return;
}
let diagnostics: vscode.Diagnostic[] = this.linter.parse(output);
console.log('[lint] Parsing output to vscode.Diagnostics', diagnostics);
this.logger.debug('[lint] Parsing output to vscode.Diagnostics', diagnostics);
// Remove duplicates from the diagnostics array
diagnostics = [...new Map(diagnostics.map(v => [JSON.stringify(v), v])).values()];
console.log('[lint] Removing duplicates. vscode.Diagnostics are now:', diagnostics);
this.logger.debug('[lint] Removing duplicates. vscode.Diagnostics are now:', diagnostics);
this.fortranDiagnostics.set(document.uri, diagnostics);
return diagnostics;
Expand Down Expand Up @@ -380,8 +377,6 @@ export class FortranLintingProvider {
`[build.single] compiler: "${this.settings.compiler}" located in: "${command}"`
);
this.logger.info(`[build.single] Compiler query command line: ${command} ${argList.join(' ')}`);
console.log(`[build.single] compiler: "${this.settings.compiler}" located in: "${command}"`);
console.log(`[build.single] Compiler query command line: ${command} ${argList.join(' ')}`);

try {
const fypp = await this.getFyppProcess(document);
Expand All @@ -397,7 +392,6 @@ export class FortranLintingProvider {
);
const output: string = stdout + stderr;
this.logger.debug(`[build.single] Compiler output:\n${output}`);
console.log(`[build.single] Compiler output:\n${output}`);
return output;
} catch (err) {
this.logger.error(`[build.single] Compiler error:`, err);
Expand Down

0 comments on commit a1f4c8e

Please sign in to comment.