mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 12:05:24 -04:00
fix watch mode check. Signed-off-by: lihong <lihong67@huawei.com> Change-Id: I464a619501c564099294148e7829e12434dea942
This commit is contained in:
@@ -152,9 +152,6 @@ export class ResultStates {
|
||||
});
|
||||
const languageService: ts.LanguageService = createLanguageService(rootFileNames);
|
||||
globalProgram.program = languageService.getProgram();
|
||||
});
|
||||
|
||||
compiler.hooks.run.tapPromise('CheckSyntax', async(compiler) => {
|
||||
const rootProgram: ts.Program = globalProgram.program;
|
||||
props.push(...dollarCollection, ...decoratorParamsCollection, ...extendCollection);
|
||||
let allDiagnostics: ts.Diagnostic[] = rootProgram
|
||||
|
||||
Reference in New Issue
Block a user