fix command

This commit is contained in:
Ryan Downing 2025-03-28 15:45:14 -04:00
parent c96572c378
commit a4b796385c

View file

@ -17,5 +17,5 @@ def git_commit(*args, **kwargs):
def get_default_branch():
cmd = ('git', 'config', '--get', 'init.defaultBranch')
return subprocess.getoutput(cmd).strip() or 'master'
ret = subprocess.getoutput('git config init.defaultBranch').strip()
return ret or 'master'