Skip to content

Commit

Permalink
fix(contributors): Force delete contributors branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Feverqwe authored Nov 17, 2023
1 parent e618ba7 commit 85031d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcs-connector/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function getAllContributorsTocFiles(httpClientByToken: Octokit): Promise<v
await matchContributionsForEachPath(repoLogs, httpClientByToken);
} finally {
await simpleGit(options).raw('worktree', 'remove', masterDir);
await simpleGit(options).raw('branch', '-d', tmpMasterBranch);
await simpleGit(options).raw('branch', '-D', tmpMasterBranch);
}

logger.info('', ALL_CONTRIBUTORS_RECEIVED);
Expand Down

0 comments on commit 85031d6

Please sign in to comment.