Skip to content

Commit e15d01f

Browse files
committed
🐛 fix(alembic): suppress warning when inferring version path by branch label
1 parent 4c6bc06 commit e15d01f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nonebot_plugin_orm/migrate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,7 @@ def revision(
425425
)
426426
)
427427
)
428-
429-
if version_path:
428+
elif version_path:
430429
version_path = Path(version_path).resolve()
431430
version_locations = config.get_main_option("version_locations", "")
432431
pathsep = _SPLIT_ON_PATH[config.get_main_option("version_path_separator")]

0 commit comments

Comments
 (0)