Skip to content

Commit

Permalink
Merge pull request #116 from olehermanse/git
Browse files Browse the repository at this point in the history
Fixed key error when git key is missing from cfbs.json
  • Loading branch information
vpodzime committed Jun 1, 2022
2 parents 978fac0 + ff252af commit 9317084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfbs/git_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def decorated_fn(*args, **kwargs):
return e.retval

config = CFBSConfig.get_instance()
if not config["git"]:
if not config.get("git", False):
return ret

if ret in successful_returns:
Expand Down

0 comments on commit 9317084

Please sign in to comment.