Skip to content

Commit

Permalink
Fixed regression where console output was emitted during tests, pollu…
Browse files Browse the repository at this point in the history
…ting the test output.
  • Loading branch information
msfterictraut committed Jul 8, 2023
1 parent 0a67c65 commit c41bc9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/pyright-internal/src/analyzer/sourceFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ export class SourceFile {

return this.fileSystem.readFileSync(this._filePath, 'utf8');
} catch (error) {
this._console.error(`Error reading file "${this._filePath}": ${error}`);
return undefined;
}
}
Expand Down

0 comments on commit c41bc9c

Please sign in to comment.