repository-provider
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -169,3 +169,2 @@ 'use strict'; | ||
const branch = new this.provider.branchClass(this, name, options); | ||
await branch.initialize(); | ||
this._branches.set(branch.name, branch); | ||
@@ -265,4 +264,3 @@ return branch; | ||
const repository = new this.repositoryClass(this, name, options); | ||
await repository.initialize(); | ||
this.repositories.set(name, repository); | ||
this.repositories.set(repository.name, repository); | ||
return repository; | ||
@@ -269,0 +267,0 @@ } |
{ | ||
"name": "repository-provider", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -81,4 +81,3 @@ import { Repository } from "./repository"; | ||
const repository = new this.repositoryClass(this, name, options); | ||
await repository.initialize(); | ||
this.repositories.set(name, repository); | ||
this.repositories.set(repository.name, repository); | ||
return repository; | ||
@@ -85,0 +84,0 @@ } |
@@ -169,3 +169,2 @@ import { notImplementedError } from "./util"; | ||
const branch = new this.provider.branchClass(this, name, options); | ||
await branch.initialize(); | ||
this._branches.set(branch.name, branch); | ||
@@ -172,0 +171,0 @@ return branch; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52281
1273