Skip to content

Commit

Permalink
- fix: default branch in github now is main
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoDanin committed Oct 16, 2020
1 parent 11d10dc commit 30114c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class GithubProvider extends BaseProvider {
return await this.getBranch(name);
} catch (e) {
// console.warn('branch not found, creating');
const masterRef = await this.getRef('master');
const masterRef = await this.getRef('main');
await this.createBranch(masterRef.object.sha, name);
return await this.getBranch(name);
}
Expand Down

0 comments on commit 30114c3

Please sign in to comment.