Skip to content

Commit f4966af

Browse files
committed
docs(config/configuration_file.md): specify the error
1 parent df45945 commit f4966af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/configuration_file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Configuration files are typically located in the root of your project directory.
2121
The first valid configuration file found will be used. If no configuration file is found, Commitizen will use its default settings.
2222

2323
!!! note
24-
Commitizen supports explicitly specifying a configuration file using the `--config` option, which is useful when the configuration file is not located in the project root directory.
25-
When `--config` is provided, Commitizen will only load configuration from the specified file and will not search for configuration files using the default search order described above. If the specified configuration file does not exist, Commitizen will raise an error.
24+
Commitizen supports explicitly specifying a configuration file using the `--config` option, which is useful when the configuration file is not located in the project root directory.
25+
When `--config` is provided, Commitizen will only load configuration from the specified file and will not search for configuration files using the default search order described above. If the specified configuration file does not exist, Commitizen raises the `ConfigFileNotFound` error.If the specified configuration file exists but is empty, Commitizen raises the `ConfigFileIsEmpty` error.
2626

2727
```bash
2828
cz --config <PATH> <command>

0 commit comments

Comments
 (0)