Fixed the template for dashboard output
parent
3414b8f822
commit
fb8a47f441
|
@ -129,7 +129,7 @@ var dashboardCmd = &cobra.Command{
|
||||||
if dashboardURLMode {
|
if dashboardURLMode {
|
||||||
out.Ln(url)
|
out.Ln(url)
|
||||||
} else {
|
} else {
|
||||||
out.ErrT(out.Celebrate, "Opening %s in your default browser...", out.V{"url": url})
|
out.ErrT(out.Celebrate, "Opening {{.url}} in your default browser...", out.V{"url": url})
|
||||||
if err = browser.OpenURL(url); err != nil {
|
if err = browser.OpenURL(url); err != nil {
|
||||||
exit.WithCodeT(exit.Software, "failed to open browser: {{.error}}", out.V{"error": err})
|
exit.WithCodeT(exit.Software, "failed to open browser: {{.error}}", out.V{"error": err})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue