Skip to content

Commit c872315

Browse files
fix: resolve config path to align with the actual repository root
1 parent 8cf8ebd commit c872315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bumpversion/config/files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def update_config_file(
128128
else:
129129
logger.info("\n%sProcessing config file: %s", logger.indent_str, config_file)
130130
logger.indent()
131-
config_path = Path(config_file)
131+
config_path = Path(config_file).resolve()
132132

133133
if config.scm_info.tool and not config.scm_info.path_in_repo(config_path):
134134
logger.info("\n%sConfiguration file is outside of the repo. Not going to change.", logger.indent_str)

0 commit comments

Comments
 (0)