mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 17:28:11 -07:00
Fix issue with one-character args in ArgsToStrings.
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ func ArgsToStrings(maxLength int, arguments []string, delim string) []string {
|
||||
continue
|
||||
}
|
||||
|
||||
if len(buffer) > 1 {
|
||||
if len(buffer) > 0 {
|
||||
buffer += delim
|
||||
}
|
||||
buffer += arguments[0]
|
||||
|
||||
Reference in New Issue
Block a user