Skip to content

Commit e81a07e

Browse files
committed
Delete dead code resulting from 20c11b4
Missed a comment in PR microsoft#16183
1 parent 1f606bd commit e81a07e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Jakefile.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ var builtLocalCompiler = path.join(builtLocalDirectory, compilerFilename);
268268
* @param {boolean} opts.preserveConstEnums: true if compiler should keep const enums in code
269269
* @param {boolean} opts.noResolve: true if compiler should not include non-rooted files in compilation
270270
* @param {boolean} opts.stripInternal: true if compiler should remove declarations marked as @internal
271-
* @param {boolean} opts.noMapRoot: true if compiler omit mapRoot option
272271
* @param {boolean} opts.inlineSourceMap: true if compiler should inline sourceMap
273272
* @param {Array} opts.types: array of types to include in compilation
274273
* @param callback: a function to execute after the compilation process ends
@@ -524,7 +523,7 @@ task("importDefinitelyTypedTests", [importDefinitelyTypedTestsJs], function () {
524523

525524
// Local target to build the compiler and services
526525
var tscFile = path.join(builtLocalDirectory, compilerFilename);
527-
compileFile(tscFile, compilerSources, [builtLocalDirectory, copyright].concat(compilerSources), [copyright], /*useBuiltCompiler:*/ false, { noMapRoot: true });
526+
compileFile(tscFile, compilerSources, [builtLocalDirectory, copyright].concat(compilerSources), [copyright], /*useBuiltCompiler:*/ false);
528527

529528
var servicesFile = path.join(builtLocalDirectory, "typescriptServices.js");
530529
var servicesFileInBrowserTest = path.join(builtLocalDirectory, "typescriptServicesInBrowserTest.js");
@@ -579,7 +578,6 @@ compileFile(
579578
keepComments: true,
580579
noResolve: false,
581580
stripInternal: true,
582-
noMapRoot: true,
583581
inlineSourceMap: true
584582
});
585583

0 commit comments

Comments
 (0)