Skip to content

Commit bcc8789

Browse files
committed
Set color to red
1 parent 502bd84 commit bcc8789

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def cli(ctx, verbose) -> None:
3030
latest_version = Version.parse_version_string(tags[0]["name"])
3131
if current_version.is_behind(latest_version):
3232
warn(
33-
f"Your version of Git-Mastery app {click.style(current_version, bold=True)} is {click.style('behind the latest version', fg='bright_red')} {click.style(latest_version, bold=True, italic=True)}."
33+
click.style(
34+
f"Your version of Git-Mastery app {current_version} is behind the latest version {latest_version}.",
35+
fg="bright_red",
36+
)
3437
)
3538
warn("We strongly recommend upgrading your app.")
3639
warn(

0 commit comments

Comments
 (0)