Skip to content

Commit 28464e2

Browse files
authored
fix: generator install log not work (#153)
1 parent 7351bba commit 28464e2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/spotty-icons-fly.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@modern-js/codesmith": patch
3+
---
4+
5+
fix: install generator log not work
6+
7+
fix: 安装生成器日志不生效

packages/core/src/materials/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export class MaterialsManager {
3232
const localPath = await downloadPackage(name, version, {
3333
registryUrl: this.registryUrl,
3434
install: true,
35+
logger: this.logger,
3536
});
3637
const pkgJson = nodeRequire(`${localPath}/package.json`);
3738
const materialKey = `${pkgJson.name}@${pkgJson.version}`;

0 commit comments

Comments
 (0)