Skip to content

Commit

Permalink
replace click.style in PipfileNotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
aidencullo committed Aug 2, 2024
1 parent 25f1924 commit b333681
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pipenv/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,8 @@ class PipfileNotFound(PipenvFileError):
def __init__(self, filename="Pipfile", extra=None, **kwargs):
extra = kwargs.pop("extra", [])
message = "{} {}".format(
click.style("Aborting!", bold=True, fg="red"),
click.style(
"Please ensure that the file exists and is located in your"
" project root directory.",
bold=True,
),
"[bold red]Aborting![/bold red]",
"[bold]Please ensure that the file exists and is located in your project root directory.[/bold]",
)
super().__init__(filename, message=message, extra=extra, **kwargs)

Expand Down

0 comments on commit b333681

Please sign in to comment.