Skip to content

Commit e099f70

Browse files
committed
fix(attw): add --ignore-scripts flag to avoid lifecycle output
close #658
1 parent 0430b57 commit e099f70

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
@@ -74,7 +74,7 @@ export async function attw(options: ResolvedConfig): Promise<void> {
7474
try {
7575
const { stdout: tarballInfo } = await exec(
7676
'npm',
77-
['pack', '--json', '--pack-destination', tempDir],
77+
['pack', '--json', '--ignore-scripts', '--pack-destination', tempDir],
7878
{ nodeOptions: { cwd: options.cwd } },
7979
)
8080
const parsed = JSON.parse(tarballInfo)

0 commit comments

Comments
 (0)