Skip to content

Commit

Permalink
chore: πŸ™ˆ try script
Browse files Browse the repository at this point in the history
  • Loading branch information
stormslowly committed Dec 21, 2023
1 parent 581bc43 commit d6759b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bin/umi-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit d6759b0

Please sign in to comment.