From 695ed96a22120fd0767a3c193409b16144e32c39 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Thu, 5 Feb 2015 20:34:40 -0800 Subject: [PATCH] fix non-run uses of bundler --- tools/bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bundler.js b/tools/bundler.js index d3f0e81ffe..9896ac4ef9 100644 --- a/tools/bundler.js +++ b/tools/bundler.js @@ -1735,7 +1735,7 @@ _.extend(ServerTarget.prototype, { nodePath.push( files.pathJoin(files.getDevBundle(), 'server-lib', 'node_modules') ); - } else { + } else if (options.includeNodeModules) { // This is some option we didn't expect - someone has added another case // to the includeNodeModules option but didn't update this if block. Fail // hard.