Skip to content

Commit 7e4aa52

Browse files
committed
update registry to check for enabled flag
1 parent 09cfaf0 commit 7e4aa52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/packages/generator/src/builders/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class RegistryBuilder implements IGenerator {
252252
}
253253

254254
generate(): Array<Manifest> {
255-
if (!this.config.registry) {
255+
if (!this.config.registry || this.config.registry?.enabled === false) {
256256
return [];
257257
}
258258

0 commit comments

Comments
 (0)