From 3da6de205cc224204a6c6d71cc06ae5d27efc047 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 19 Aug 2015 23:12:25 -0700 Subject: [PATCH] remove unused list of supported switchs --- src/harness/harness.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/harness/harness.ts b/src/harness/harness.ts index a0366c0c40b..b1560d78a7a 100644 --- a/src/harness/harness.ts +++ b/src/harness/harness.ts @@ -1519,16 +1519,6 @@ module Harness { // Regex for parsing options in the format "@Alpha: Value of any sort" let optionRegex = /^[\/]{2}\s*@(\w+)\s*:\s*(\S*)/gm; // multiple matches on multiple lines - // List of allowed metadata names - let fileMetadataNames = ["filename", "comments", "declaration", "module", - "nolib", "sourcemap", "target", "out", "outdir", "noemithelpers", "noemitonerror", - "noimplicitany", "noresolve", "newline", "normalizenewline", "emitbom", - "errortruncation", "usecasesensitivefilenames", "preserveconstenums", - "includebuiltfile", "suppressimplicitanyindexerrors", "stripinternal", - "isolatedmodules", "inlinesourcemap", "maproot", "sourceroot", - "inlinesources", "emitdecoratormetadata", "experimentaldecorators", - "skipdefaultlibcheck", "jsx"]; - function extractCompilerSettings(content: string): CompilerSetting[] { let opts: CompilerSetting[] = [];