Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
Co-authored-by: Randy Döring <30527984+radoering@users.noreply.github.com>
  • Loading branch information
dimbleby and radoering committed Apr 18, 2023
1 parent 3aa54ff commit 9318be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/console/commands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def handle(self) -> int:

if canonical_constraint_name == project_name:
self.line_error(
f"<error>Cannot add dependency on <c1>{_constraint['name']}</c1> to"
f"<error>Cannot add dependency on <c1>{constraint_name}</c1> to"
" project with the same name."
)
self.line_error("\nNo changes were applied.")
Expand Down

0 comments on commit 9318be5

Please sign in to comment.