diff --git a/ls.go b/ls.go index 2274217..50d4672 100644 --- a/ls.go +++ b/ls.go @@ -57,7 +57,7 @@ func (l *ls) Recursive() *ls { // Author : go_developer@163.com<白茶清欢> // // Date : 22:59 2022/5/20 -func (l *ls) Run() (define.Result, []define.LsFileInfo) { +func (l *ls) Run() (*define.Result, []define.LsFileInfo) { result := Execute(l.workDir, "ls", l.paramList) if nil != result.Error { return result, make([]define.LsFileInfo, 0)