Skip to content

Commit

Permalink
fix (poetry new): show correct package (#1608)
Browse files Browse the repository at this point in the history
* fix: success message by `poetry new` now shows correct package name if it was automatically renamed

* fix: revert isort changes
  • Loading branch information
finswimmer authored and sdispater committed Nov 22, 2019
1 parent 12f981c commit 863e271
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion poetry/console/commands/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from cleo import argument
from cleo import option

from poetry.utils.helpers import module_name

from .command import Command


Expand Down Expand Up @@ -76,6 +78,6 @@ def handle(self):

self.line(
"Created package <info>{}</> in <fg=blue>{}</>".format(
name, path.relative_to(Path.cwd())
module_name(name), path.relative_to(Path.cwd())
)
)

0 comments on commit 863e271

Please sign in to comment.