From 1e586134f71604aa367752e319820df2ab4fd576 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Mon, 4 Aug 2014 11:18:00 -0700 Subject: [PATCH] Removing trailing comma that breaks cscript.exe. --- src/compiler/commandLineParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 7a3e27b8a02..00aa5efcee4 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -34,7 +34,7 @@ module ts { { name: "sourceRoot", type: "string" }, { name: "target", type: { "es3": ScriptTarget.ES3, "es5": ScriptTarget.ES5 }, error: Diagnostics.Argument_for_target_option_must_be_es3_or_es5 }, { name: "version", type: "boolean" }, - { name: "watch", type: "boolean" }, + { name: "watch", type: "boolean" } ]; // Map command line switches to compiler options' property descriptors. Keys must be lower case spellings of command line switches.