Skip to content

Commit

Permalink
Add a new line after path info written on the screen #2195 (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harun Yasar committed Mar 26, 2020
1 parent 9e18519 commit 1d413c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poetry/console/commands/env/info.py
Expand Up @@ -19,7 +19,7 @@ def handle(self):
if not env.is_venv():
return 1

self.write(str(env.path))
self.line(str(env.path))

return

Expand Down
2 changes: 1 addition & 1 deletion tests/console/commands/env/test_info.py
Expand Up @@ -48,4 +48,4 @@ def test_env_info_displays_path_only(app):

expected = str(Path("/prefix"))

assert expected == tester.io.fetch_output()
assert expected + "\n" == tester.io.fetch_output()

0 comments on commit 1d413c0

Please sign in to comment.