Skip to content

Commit

Permalink
build(design-core/script): 修复临时安装包插件安装完包后返回目录不正确
Browse files Browse the repository at this point in the history
  • Loading branch information
rhlin committed Apr 25, 2024
1 parent f99deb5 commit 6e74402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function installPackageTemporary(packageNeedToInstall, tempDir, logger =
code ||
shelljs.cd(tempDir).code ||
shelljs.exec(`npm install --force`).code ||
shelljs.cd(path.resolve(tempDir, '.')).code
shelljs.cd(path.relative(tempDir, '.')).code

if (code === 0) {
logger.info(
Expand Down

0 comments on commit 6e74402

Please sign in to comment.