mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
TS: Disable output from tracing
This commit is contained in:
@@ -12,7 +12,9 @@ export class Project {
|
||||
}
|
||||
|
||||
public load(): void {
|
||||
this.program = ts.createProgram(this.config.fileNames, this.config.options);
|
||||
let host = ts.createCompilerHost(this.config.options, true);
|
||||
host.trace = undefined; // Disable tracing which would otherwise go to standard out
|
||||
this.program = ts.createProgram(this.config.fileNames, this.config.options, host);
|
||||
this.typeTable.setProgram(this.program);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user