Commit 863e2714 by finswimmer Committed by Sébastien Eustace

fix (poetry new): show correct package (#1608)

* fix: success message by `poetry new` now shows correct package name if it was automatically renamed

* fix: revert isort changes
parent 12f981c5
......@@ -3,6 +3,8 @@ import sys
from cleo import argument
from cleo import option
from poetry.utils.helpers import module_name
from .command import Command
......@@ -76,6 +78,6 @@ class NewCommand(Command):
self.line(
"Created package <info>{}</> in <fg=blue>{}</>".format(
name, path.relative_to(Path.cwd())
module_name(name), path.relative_to(Path.cwd())
)
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment