提交 e68e760a 编写于 作者: D Derek Parker

service/debugger: Remove newline at end of error

上级 12bd0472
......@@ -280,7 +280,7 @@ func (loc *NormalLocationSpec) Find(d *Debugger, locStr string) ([]api.Location,
case 0:
return nil, fmt.Errorf("Location \"%s\" not found", locStr)
default:
return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…\n", locStr, strings.Join(candidates, ", "))
return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…", locStr, strings.Join(candidates, ", "))
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册