Skip to content

Commit fcc8f65

Browse files
committed
Remove --ignore-scripts from pnpm dlx helper
1 parent 414f0a2 commit fcc8f65

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/utils/dlx.mts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ export async function spawnDlx(
128128
npm_config_dlx_cache_max_age: '0',
129129
},
130130
}
131-
// Add --ignore-scripts for extra security.
132-
// While pnpm dlx allows the executed package's scripts by default,
133-
// we disable them since coana/cdxgen/synp don't need postinstall scripts.
134-
spawnArgs.push('--ignore-scripts')
135131
}
136132
if (silent) {
137133
spawnArgs.push(FLAG_SILENT)

0 commit comments

Comments
 (0)