mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-26 15:59:26 -05:00
@@ -108,8 +108,8 @@ export async function parseCliArgs (
|
||||
return 'add'
|
||||
}
|
||||
|
||||
function getEscapeArgsWithSpecialCaseForRun (): string[] | undefined {
|
||||
if (cmd !== 'run') {
|
||||
function getEscapeArgsWithSpecialCases (): string[] | undefined {
|
||||
if (cmd !== 'run' && cmd !== 'dlx') {
|
||||
return opts.escapeArgs
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ export async function parseCliArgs (
|
||||
},
|
||||
inputArgv,
|
||||
0,
|
||||
{ escapeArgs: getEscapeArgsWithSpecialCaseForRun() }
|
||||
{ escapeArgs: getEscapeArgsWithSpecialCases() }
|
||||
)
|
||||
const workspaceDir = await getWorkspaceDir(options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user