From dff3bf1d43b80bafd91425058740a917460df5fd Mon Sep 17 00:00:00 2001 From: Slava Kim Date: Thu, 5 Feb 2015 16:14:59 -0800 Subject: [PATCH] Remove dead code per glasser's comments --- tools/bundler.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/bundler.js b/tools/bundler.js index 00f70db6ce..bcf4fe0363 100644 --- a/tools/bundler.js +++ b/tools/bundler.js @@ -1734,8 +1734,7 @@ _.extend(ServerTarget.prototype, { // Linked JavaScript image (including static assets, assuming that there are // any JS files at all) var jsImage = self.toJsImage(); - var imageControlFile = jsImage.write( - builder, { includeNodeModules: options.includeNodeModules }).controlFile; + jsImage.write(builder, { includeNodeModules: options.includeNodeModules }); // Server bootstrap _.each([ @@ -1793,8 +1792,7 @@ var writeFile = Profile("bundler..writeFile", function (file, builder) { var writeTargetToPath = Profile( "bundler..writeTargetToPath", function (name, target, outputPath, options) { var builder = new Builder({ - outputPath: files.pathJoin(outputPath, 'programs', name), - symlink: options.includeNodeModules === 'symlink' + outputPath: files.pathJoin(outputPath, 'programs', name) }); var targetBuild =