Skip to content

Commit 1c8b189

Browse files
authored
fix(attw): add --ignore-scripts to avoid lifecycle output (#661)
1 parent 8afd9aa commit 1c8b189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/pkg/attw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function attw(options: ResolvedConfig): Promise<void> {
131131
try {
132132
const { stdout: tarballInfo } = await exec(
133133
'npm',
134-
['pack', '--json', '--pack-destination', tempDir],
134+
['pack', '--json', '--ignore-scripts', '--pack-destination', tempDir],
135135
{ nodeOptions: { cwd: options.cwd } },
136136
)
137137
const parsed = JSON.parse(tarballInfo)

0 commit comments

Comments
 (0)