(args []string)
| 180 | } |
| 181 | |
| 182 | func repairQuery(args []string) string { |
| 183 | for i, arg := range args { |
| 184 | split := strings.Split(arg, ":") |
| 185 | for j, s := range split { |
| 186 | if strings.Contains(s, " ") { |
| 187 | split[j] = fmt.Sprintf("\"%s\"", s) |
| 188 | } |
| 189 | } |
| 190 | args[i] = strings.Join(split, ":") |
| 191 | } |
| 192 | return strings.Join(args, " ") |
| 193 | } |
| 194 | |
| 195 | func bugsJsonFormatter(env *execenv.Env, excerpts []*cache.BugExcerpt) error { |
| 196 | jsonBugs := make([]cmdjson.BugExcerpt, len(excerpts)) |
no outgoing calls