use double quotes

This commit is contained in:
Mohamed Hegazy 2015-06-26 10:25:58 -07:00
parent e7e020e958
commit 72050073bc

View file

@ -192,7 +192,7 @@ namespace ts {
}
// Firefox has Object.prototype.watch
if (commandLine.options.watch && commandLine.options.hasOwnProperty('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);