Skip to content

Commit

Permalink
Improve warning message when lockfile is not up-to-date (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed Jun 25, 2023
1 parent 39b8947 commit 62b8f1f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/poetry_plugin_export/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ def handle(self) -> int:
if not locker.is_fresh():
self.line_error(
"<warning>"
"Warning: The lock file is not up to date with "
"the latest changes in pyproject.toml. "
"You may be getting outdated dependencies. "
"Run update to update them."
"Warning: poetry.lock is not consistent with pyproject.toml. "
"You may be getting improper dependencies. "
"Run `poetry lock [--no-update]` to fix it."
"</warning>"
)

Expand Down

0 comments on commit 62b8f1f

Please sign in to comment.