Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cb91fea

Browse files
danvergaraLee-W
authored andcommitted
fix(json_config): fix the emtpy_config_content method
1 parent 58fc55a commit cb91fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎commitizen/config/json_config.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self, *, data: str, path: Union[Path, str]):
1414

1515
def init_empty_config_content(self):
1616
with open(self.path, "a") as json_file:
17-
json.dump({"commitizen": ""}, json_file)
17+
json.dump({"commitizen": {}}, json_file)
1818

1919
def set_key(self, key, value):
2020
"""Set or update a key in the conf.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /