Skip to content

Commit 549fb80

Browse files
authored
Merge pull request #222 from stevapple/patch-1
Apply patches via the actually used `poetry`
2 parents 532a60a + 70fc658 commit 549fb80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poetry_dynamic_versioning/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _apply_version(self, event: ConsoleCommandEvent, kind: str, dispatcher: Even
179179

180180
io = _should_apply_with_io(event.command.name)
181181

182-
_apply_version_via_plugin(self._application.poetry, io=io)
182+
_apply_version_via_plugin(event.command.poetry, io=io)
183183
_patch_dependency_versions(io)
184184

185185
def _revert_version(self, event: ConsoleCommandEvent, kind: str, dispatcher: EventDispatcher) -> None:

0 commit comments

Comments
 (0)