Skip to content

Commit 6b8aef4

Browse files
fix(config): improve warning message clarity for multiple config files
Co-authored-by: Tim Hsiung <bear890707@gmail.com>
1 parent 77c2cdf commit 6b8aef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _check_and_warn_multiple_configs(filepath: str | None = None) -> None:
5656
if len(existing_files) > 1:
5757
out.warn(
5858
f"Multiple config files detected: {', '.join(existing_files)}. "
59-
f"Using {existing_files[0]}."
59+
f"Using config file: '{existing_files[0]}'."
6060
)
6161
break
6262

0 commit comments

Comments
 (0)