Fix bug with shellquote

pull/1/head
DustyP 6 years ago
parent 56e0c849b2
commit e258613f27

@ -13,6 +13,7 @@ import (
func addTagCommand(ctx disgoman.Context, args []string) {
if len(args) >= 1 {
fmt.Println(args)
args, err := shellquote.Split(strings.Join(args, " "))
if err != nil {
if strings.Contains(err.Error(), "Unterminated") {

Loading…
Cancel
Save