Skip to content

Commit 48a33d1

Browse files
authored
fix: use correct registry prop for arborist (#440)
1 parent 332459e commit 48a33d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class Environment extends Base {
331331

332332
this.repository = new YeomanRepository({
333333
repositoryPath: this.options.yeomanRepository,
334-
arboristRegister: this.options.arboristRegister
334+
arboristRegistry: this.options.arboristRegistry
335335
});
336336

337337
if (!this.options.experimental) {

lib/util/repository.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ const REPOSITORY_FOLDER = '.yo-repository';
1414
* @private
1515
*/
1616
class YeomanRepository {
17-
constructor({repositoryPath = REPOSITORY_FOLDER, arboristRegister} = {}) {
17+
constructor({repositoryPath = REPOSITORY_FOLDER, arboristRegistry} = {}) {
1818
this.log = logger();
1919
this.tracker = logger.tracker;
2020

2121
this.repositoryPath = repositoryPath;
22-
this.arboristRegister = arboristRegister;
22+
this.arboristRegistry = arboristRegistry;
2323
}
2424

2525
/**
@@ -106,7 +106,7 @@ class YeomanRepository {
106106
path: this.repositoryPath,
107107
globalStyle: true,
108108
log: this.tracker,
109-
register: this.arboristRegister
109+
registry: this.arboristRegistry
110110
});
111111
return this.arb.reify(options);
112112
}

0 commit comments

Comments
 (0)