Skip to content

Commit

Permalink
fix: rename main branch to master
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-pap committed Jun 27, 2023
1 parent 0e24b1f commit 4641c36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/__utils__/withGitIntegration.js
Expand Up @@ -81,6 +81,9 @@ export const withGitIntegration =
// Init repository with initial commit
await utils.execGit('init')

// Rename default main branch to master for tests to pass on local environment
await utils.execGit(['branch', '-m', 'main', 'master'])

if (isWindowsActions()) {
await utils.execGit(['config', 'core.autocrlf', 'input'])
}
Expand Down

0 comments on commit 4641c36

Please sign in to comment.