From 0e84444cfccd80f2f19d646776873bdf3cdbc149 Mon Sep 17 00:00:00 2001 From: Joe Walker Date: Fri, 6 Mar 2015 16:28:26 +0000 Subject: [PATCH] runat-1128988: Consistently return a promise from loadModule() Fix for https://github.com/joewalker/gecko-dev/commit/2a963b09ad8b77d39378c5d351c591831f153bd7 Signed-off-by: Joe Walker --- lib/gcli/system.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gcli/system.js b/lib/gcli/system.js index 56716216..9d22ffbb 100644 --- a/lib/gcli/system.js +++ b/lib/gcli/system.js @@ -132,6 +132,8 @@ exports.createSystem = function(options) { catch (ex) { console.error('Failed to load module ' + name + ': ' + ex); console.error(ex.stack); + + return Promise.resolve(); } };