Skip to content

Commit 879a592

Browse files
authored
Merge pull request #46 from TiagoDanin-Forks/fix/github-branch
Fix new repo default branch
2 parents 11d10dc + 30114c3 commit 879a592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class GithubProvider extends BaseProvider {
111111
return await this.getBranch(name);
112112
} catch (e) {
113113
// console.warn('branch not found, creating');
114-
const masterRef = await this.getRef('master');
114+
const masterRef = await this.getRef('main');
115115
await this.createBranch(masterRef.object.sha, name);
116116
return await this.getBranch(name);
117117
}

0 commit comments

Comments
 (0)