PR feedback - comments and whitespace adjustments

This commit is contained in:
mihailik 2015-06-26 14:38:25 +01:00
parent 133a86a377
commit e7e020e958

View File

@ -191,7 +191,8 @@ namespace ts {
return sys.exit(ExitStatus.Success);
}
if (commandLine.options.watch && commandLine.options.hasOwnProperty('watch')) { // FireFox has Object.prototype.watch
// Firefox has Object.prototype.watch
if (commandLine.options.watch && commandLine.options.hasOwnProperty('watch')) {
if (!sys.watchFile) {
reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_current_host_does_not_support_the_0_option, "--watch"));
return sys.exit(ExitStatus.DiagnosticsPresent_OutputsSkipped);