cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject js commit: CB-9137 Fixes cordova-lib tests failures
Date Tue, 09 Jun 2015 12:02:48 GMT
Repository: cordova-js
Updated Branches:
  refs/heads/master 796a18d42 -> 7d369f329


CB-9137 Fixes cordova-lib tests failures


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/7d369f32
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/7d369f32
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/7d369f32

Branch: refs/heads/master
Commit: 7d369f3299b3fb88165af3f1306e28973a799e5e
Parents: 796a18d
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Tue Jun 9 14:58:29 2015 +0300
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Tue Jun 9 14:58:29 2015 +0300

----------------------------------------------------------------------
 tasks/lib/require-tr.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/7d369f32/tasks/lib/require-tr.js
----------------------------------------------------------------------
diff --git a/tasks/lib/require-tr.js b/tasks/lib/require-tr.js
index 603f3c1..ac7f614 100644
--- a/tasks/lib/require-tr.js
+++ b/tasks/lib/require-tr.js
@@ -97,7 +97,7 @@ var requireTr = {
     return false;
   },
   getModules: function(platform) {
-    return this.modules[platform];
+    return this.modules[platform] || [];
   },
   addModule: function(module, platform) {
     if(!module || !module.symbol || !module.path) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message