From 3d6dfff9a334d2b58ca1dbac8dbf9461bdd234f9 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 20 Jan 2016 23:30:28 -0500 Subject: [PATCH] Don't prevent plugin source batches from having a sourceRoot. --- tools/isobuild/compiler-plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/isobuild/compiler-plugin.js b/tools/isobuild/compiler-plugin.js index d978e00435..ecfd570cd1 100644 --- a/tools/isobuild/compiler-plugin.js +++ b/tools/isobuild/compiler-plugin.js @@ -96,8 +96,8 @@ export class CompilerPluginProcessor { var sourceBatches = _.map(self.unibuilds, function (unibuild) { const { pkg: { name }, arch } = unibuild; const sourceRoot = name - ? self.isopackCache.getSourceRoot(name, arch) - : self.sourceRoot; + && self.isopackCache.getSourceRoot(name, arch) + || self.sourceRoot; return new PackageSourceBatch(unibuild, self, { sourceRoot,