From f2264c3e0c318e790445cb862c334cecbeb6cde8 Mon Sep 17 00:00:00 2001 From: wgjak47 Date: Tue, 2 Apr 2019 17:43:31 +0800 Subject: [PATCH] fix: fix config file not working --- commitizen/cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/commitizen/cli.py b/commitizen/cli.py index 41e97cf1ec..e910745a3c 100644 --- a/commitizen/cli.py +++ b/commitizen/cli.py @@ -71,7 +71,6 @@ def load_cfg(): for cfg in configs: if not os.path.exists(config_file) and os.path.exists(cfg): config_file = cfg - break config_file_exists = os.path.exists(config_file) if config_file_exists: