repository-provider 32.7.21 → 32.7.22
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 +3 -3
- package/src/commit.mjs +3 -0
- package/src/owned-object.mjs +2 -0
- package/src/repository.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "32.7.
|
|
3
|
+
"version": "32.7.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"ava": "^5.3.0",
|
|
37
|
-
"browser-ava": "^1.3.
|
|
37
|
+
"browser-ava": "^1.3.47",
|
|
38
38
|
"c8": "^7.14.0",
|
|
39
39
|
"documentation": "^14.0.2",
|
|
40
40
|
"repository-provider-test-support": "^2.3.7",
|
|
41
|
-
"semantic-release": "^21.0.
|
|
41
|
+
"semantic-release": "^21.0.5",
|
|
42
42
|
"typescript": "^5.1.3"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
package/src/commit.mjs
CHANGED
package/src/owned-object.mjs
CHANGED
package/src/repository.mjs
CHANGED
|
@@ -220,7 +220,7 @@ export class Repository extends OwnedObject {
|
|
|
220
220
|
*/
|
|
221
221
|
async branch(name) {
|
|
222
222
|
if (name === this.defaultBranchName) {
|
|
223
|
-
return this
|
|
223
|
+
return this.addBranch(name);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
await this.initializeBranches();
|