提交 814c8e1c 编写于 作者: D dpandhi-git

updated || for condition if dashboardURLMode && user.Uid as per comments #5292

上级 73aefd07
......@@ -134,7 +134,7 @@ var dashboardCmd = &cobra.Command{
if err != nil {
exit.WithError("Unable to get current user", err)
}
if dashboardURLMode && user.Uid == "0" {
if dashboardURLMode || user.Uid == "0" {
out.Ln(url)
} else {
out.T(out.Celebrate, "Opening {{.url}} in your default browser...", out.V{"url": url})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册