mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(util) retExec -> exec.ret
This commit is contained in:
parent
58a3a6ff3e
commit
7332c7b325
15 changed files with 38 additions and 38 deletions
|
|
@ -264,7 +264,7 @@
|
|||
function getContent(name, callback) {
|
||||
dir.isDir(name, function(error, isDir) {
|
||||
var getDirContent = main.commander.getDirContent,
|
||||
func = Util.retExec(callback);
|
||||
func = Util.exec.ret(callback);
|
||||
|
||||
if (!error && isDir)
|
||||
getDirContent(name, callback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue