Skip to content

Commit 19ae490

Browse files
author
Andy
authored
Merge pull request #11680 from Microsoft/unnecessary_assert
Remove unnecessary assert
2 parents 8a3e9be + 4c5a728 commit 19ae490

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/server/scriptInfo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ namespace ts.server {
8787
if (this.containingProjects.length === 0) {
8888
return Errors.ThrowNoProject();
8989
}
90-
Debug.assert(this.containingProjects.length !== 0);
9190
return this.containingProjects[0];
9291
}
9392

0 commit comments

Comments
 (0)