Fixed the template for dashboard output

pull/5004/head
Jituri, Pranav 2019-08-07 11:16:39 +05:30
parent 3414b8f822
commit fb8a47f441
No known key found for this signature in database
GPG Key ID: 3D6729F63C792B4C
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ var dashboardCmd = &cobra.Command{
if dashboardURLMode {
out.Ln(url)
} 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 {
exit.WithCodeT(exit.Software, "failed to open browser: {{.error}}", out.V{"error": err})
}