fix line message bug
This commit is contained in:
parent
c9eb014688
commit
0f8d722e38
@ -1,7 +1,6 @@
|
|||||||
package msgcmd
|
package msgcmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -93,7 +92,6 @@ func parseResult(str string) interface{} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("command result ::::: ", m)
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,6 +113,5 @@ func runCMD(txt, c string, s *lineobj.SourceObject) (res string) {
|
|||||||
res = strings.Replace(res, v[0], cmdRes, 1)
|
res = strings.Replace(res, v[0], cmdRes, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Println("run cmd ::::: ", res)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user