fix non-run uses of bundler

This commit is contained in:
David Glasser
2015-02-05 20:34:40 -08:00
parent 3cd883bda4
commit 695ed96a22

View File

@@ -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.