Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
runat-1128988: Consistently return a promise from loadModule()
Browse files Browse the repository at this point in the history
Fix for
joewalker/gecko-dev@2a963b0

Signed-off-by: Joe Walker <[email protected]>
  • Loading branch information
joewalker committed Mar 6, 2015
1 parent 30b612e commit 0e84444
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gcli/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};

Expand Down

1 comment on commit 0e84444

@bgrins
Copy link

@bgrins bgrins commented on 0e84444 Mar 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.