Skip to content

Commit 30114c3

Browse files
committed
- fix: default branch in github now is main
1 parent 11d10dc commit 30114c3

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)