From d6759b046679bc996ed7a9be90e971068970280c Mon Sep 17 00:00:00 2001 From: pshu Date: Thu, 21 Dec 2023 21:42:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=99=88=20try=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/bin/umi-scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bin/umi-scripts.js b/scripts/bin/umi-scripts.js index 7afc1f06a432..5e2c7a518213 100755 --- a/scripts/bin/umi-scripts.js +++ b/scripts/bin/umi-scripts.js @@ -21,8 +21,8 @@ console.log(chalk.cyan(`umi-scripts: ${name}\n`)) // https://github.com/umijs/umi/issues/9865 const scriptPathAsStr = JSON.stringify(scriptsPath) const spawn = sync( - 'tsx', - [scriptPathAsStr, ...throughArgs], + 'pnpm', + ['tsx', scriptPathAsStr, ...throughArgs], { env: process.env, cwd: process.cwd(),