mirror of https://github.com/velour/catbase.git
Missing!
This commit is contained in:
parent
4886cd6b9d
commit
197d6861de
|
@ -87,7 +87,7 @@ func (p * PickerPlugin) parse(body string) (int, []string, error) {
|
||||||
rest = rest[len(subs[0]):]
|
rest = rest[len(subs[0]):]
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.TrimSpace(rest) = "}" {
|
if strings.TrimSpace(rest) != "}" {
|
||||||
return 0, nil, errors.New("lasso yerself that final curly brace, compadre")
|
return 0, nil, errors.New("lasso yerself that final curly brace, compadre")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue