From 7fa47357408aedca21eb882a89c3bf8e43560e7b Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Fri, 23 Jan 2015 00:04:16 -0500 Subject: [PATCH] fix(resource-coordinator): incorrectly setting analyzed module ids --- src/resource-coordinator.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resource-coordinator.js b/src/resource-coordinator.js index aeaa79f0..30220d8f 100644 --- a/src/resource-coordinator.js +++ b/src/resource-coordinator.js @@ -199,10 +199,12 @@ class ResourceModule { org = Origin.get(element.value); }else if(resources.length){ org = Origin.get(resources[0].value); + }else{ + org = Origin.get(source); } if(org){ - this.id = org.id; + this.id = org.moduleId; } }