Skip to content

Commit 407876b

Browse files
authored
Merge pull request #140 from dwhswenson/fix-vendor-no-explicit-repo
Fix bug in `vendor actions` when `config is None`
2 parents 4c54e36 + cb26f7c commit 407876b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autorelease/scripts/vendor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def guess_parent_repository(repo_name='.'):
5757

5858

5959
def _get_github_repo(config):
60-
if "owner" in config and "repo" in config:
60+
if config and "owner" in config and "repo" in config:
6161
return config["owner"] + "/" + config["repo"]
6262

6363
owner, repo = guess_parent_repository('.')

0 commit comments

Comments
 (0)