Skip to content

Commit

Permalink
Fix messages while adding packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Wieczorek authored and mkniewallner committed Jul 3, 2022
1 parent 711ddd8 commit bf81d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poetry/console/commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _determine_requirements(
):
self.line(f"Adding <info>{package}</info>")
result.append(constraint)
package = self.ask("\nAdd a package:")
package = self.ask("\nAdd a package (leave blank to skip):")
continue

canonicalized_name = canonicalize_name(constraint["name"])
Expand Down Expand Up @@ -347,7 +347,7 @@ def _determine_requirements(
result.append(constraint)

if self.io.is_interactive():
package = self.ask("\nAdd a package:")
package = self.ask("\nAdd a package (leave blank to skip):")

return result

Expand Down

0 comments on commit bf81d09

Please sign in to comment.