Update src/server/project.ts

Co-Authored-By: Orta <orta.therox+github@gmail.com>
This commit is contained in:
Sheetal Nandi 2019-06-28 10:17:58 -07:00 committed by GitHub
parent 3e49556a88
commit 4ae091fa9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1064,7 +1064,7 @@ namespace ts.server {
const path = this.toPath(sourceFile);
if (this.generatedFilesMap) {
if (isGeneratedFileWatcher(this.generatedFilesMap)) {
Debug.fail(`${this.projectName} Expected not to have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);
Debug.fail(`${this.projectName} Expected to not have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);
return;
}
if (this.generatedFilesMap.has(path)) return;