Fix type checking bug in 'bolt verify' command
This commit is contained in:
parent
7a0cb6753a
commit
eaaa258fbd
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ program.command('verify', { hidden: true })
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
const analyser = new Analyser();
|
const analyser = new Analyser();
|
||||||
|
analyser.addSourceFile(sourceFile);
|
||||||
const checker = new Checker(analyser, diagnostics);
|
const checker = new Checker(analyser, diagnostics);
|
||||||
checker.check(sourceFile);
|
checker.check(sourceFile);
|
||||||
const realDiagnostics = new ConsoleDiagnostics();
|
const realDiagnostics = new ConsoleDiagnostics();
|
||||||
|
|
Loading…
Reference in a new issue