mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(util) exec.parallel: callback(args) -> callback(error, args)
This commit is contained in:
parent
90ebc3e653
commit
648ceea602
16 changed files with 101 additions and 72 deletions
|
|
@ -11,9 +11,9 @@
|
|||
if (opener) {
|
||||
var CloudCmd = opener.CloudCmd;
|
||||
|
||||
CloudCmd.getModules(function(pModules) {
|
||||
CloudCmd.getModules(function(error, modules) {
|
||||
var Util = opener.Util,
|
||||
Storage = Util.findObjByNameInArr(pModules, 'storage'),
|
||||
Storage = Util.findObjByNameInArr(modules, 'storage'),
|
||||
GitHub = Util.findObjByNameInArr(Storage, 'GitHub'),
|
||||
GitHub_ID = GitHub && GitHub.key;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue