github-repository-provider 7.26.13 → 7.26.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-repository-provider",
3
- "version": "7.26.13",
3
+ "version": "7.26.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,7 +36,7 @@
36
36
  "matching-iterator": "^2.0.4",
37
37
  "node-fetch": "^3.2.3",
38
38
  "one-time-execution-method": "^2.0.13",
39
- "repository-provider": "^28.1.1"
39
+ "repository-provider": "^28.2.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "ava": "^4.2.0",
@@ -156,20 +156,6 @@ export class GithubRepository extends Repository {
156
156
  return sha;
157
157
  }
158
158
 
159
- async branch(name) {
160
- // TODO maybe default ?
161
- if(name === this.defaultBranchName) {
162
- const branch = this._branches.get(name);
163
- if(branch) {
164
- return branch;
165
- }
166
-
167
- return this.addBranch(name);
168
- }
169
-
170
- return super.branch(name);
171
- }
172
-
173
159
  async createBranch(name, from, options) {
174
160
  const branch = this._branches.get(name);
175
161
  if (branch) {