Cleanup, remove some unneeded dependencies, make it easier to add gulp.watch support later

This commit is contained in:
Ron Buckton
2018-06-20 18:24:12 -07:00
parent 5bc8f957f1
commit c8c0428162
14 changed files with 539 additions and 678 deletions

View File

@@ -1016,12 +1016,6 @@ namespace ts {
* Gets the UpToDateStatus for a project
*/
export function getUpToDateStatus(host: UpToDateHost, project: ParsedCommandLine | undefined): UpToDateStatus {
if (project === undefined) {
return {
type: UpToDateStatusType.Unbuildable, reason: "File deleted mid-build"
};
}
if (project === undefined) {
return { type: UpToDateStatusType.Unbuildable, reason: "File deleted mid-build" };
}