From 30114c3d2e6d8a924114e282426c8297799878b6 Mon Sep 17 00:00:00 2001 From: Tiago Danin Date: Fri, 16 Oct 2020 18:37:42 -0300 Subject: [PATCH] - fix: default branch in github now is main --- src/providers/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/github.js b/src/providers/github.js index 2884f09..226042d 100644 --- a/src/providers/github.js +++ b/src/providers/github.js @@ -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); }