We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 561b1c2 commit 3021fe3Copy full SHA for 3021fe3
commitizen/config/__init__.py
@@ -62,7 +62,8 @@ def _check_and_warn_multiple_configs(filepath: str | None = None) -> None:
62
63
64
def read_cfg(filepath: str | None = None) -> BaseConfig:
65
- _check_and_warn_multiple_configs(filepath)
+ if filepath is None:
66
+ _check_and_warn_multiple_configs()
67
68
for filename in _resolve_config_paths(filepath):
69
with open(filename, "rb") as f:
0 commit comments