mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(util) retExec: if param was - use it
This commit is contained in:
parent
77469928ab
commit
6749b7c378
1 changed files with 2 additions and 2 deletions
|
|
@ -702,9 +702,9 @@ Util = exports || {};
|
|||
|
||||
return function() {
|
||||
var argsLocal, callback,
|
||||
n = arguments.length;
|
||||
n = args.length;
|
||||
|
||||
if (!n)
|
||||
if (n)
|
||||
argsLocal = args;
|
||||
else {
|
||||
callback = args[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue