Commit 7bef1af
committed
fix(config): fixes incorrect deprecation notice
In certain scenarios a deprecation warning for czConfig was shown, even if the user had actually
correctly configured commitizen to use the config.commitizen key. This fixes that issue and improves
the warning in the deprecation notice to be more clear that it is specifically the repo (and not the
adapter or the cli) that is having issues.
Closes #501 parent be51429 commit 7bef1af
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments