diff --git a/src/server/project.ts b/src/server/project.ts index 32a1d8f53b2..889e97b24c5 100644 --- a/src/server/project.ts +++ b/src/server/project.ts @@ -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;