Skip to content

Commit

Permalink
Make the message not have long lines
Browse files Browse the repository at this point in the history
Use util.Warning
  • Loading branch information
rfay committed Feb 23, 2024
1 parent 60dbfe7 commit bc8b303
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/ddev/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cmd

import (
"fmt"
"os"
"path/filepath"
"time"
Expand Down Expand Up @@ -96,7 +95,7 @@ Support: https://ddev.readthedocs.io/en/stable/users/support`,
}

if updateNeeded {
output.UserOut.Printf(util.ColorizeText(fmt.Sprintf("\n\nUpgraded DDEV %s is available!\nPlease visit %s to get the upgrade.\nFor upgrade help see %s\n\n", updateVersion, updateURL, updateDocURL), "green"))
util.Warning("\nUpgraded DDEV %s is available!\nPlease visit %s\nto get the upgrade.\nFor upgrade help see\n%s\n", updateVersion, updateURL, updateDocURL)
}
}
},
Expand Down

0 comments on commit bc8b303

Please sign in to comment.