Skip to content

Commit

Permalink
prefix warning with "Warning:", do not print error inside warning in red
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Feb 11, 2024
1 parent 6f6769a commit e36daed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/console/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def handle(self) -> int:
# No need for an editable install in this case.
self.line("")
self.line_error(
f"The current project could not be installed: <error>{e}</error>\n"
f"Warning: The current project could not be installed: {e}\n"
"If you do not want to install the current project"
" use <c1>--no-root</c1>.\n"
"If you want to use Poetry only for dependency management"
Expand Down

0 comments on commit e36daed

Please sign in to comment.