The option of displaying environment path shows the output of the path without a new line #2195
Closed
2 of 3 tasks
Labels
kind/bug
Something isn't working as expected
-vvv
option).Issue
Poetry environment info option gives the current path value without a new line.
$ poetry env info --path
I think that changing just a line within the
EnvInfoCommand
class would be fine.Because the function writes the output with
self.write(str(env.path))
It might have to beself.line(str(env.path))
. I think changing the value in this way can give the expected output.https://github.com/python-poetry/poetry/blob/master/poetry/console/commands/env/info.py#L13-L26
The text was updated successfully, but these errors were encountered: