Skip to content

Commit 733efb1

Browse files
committed
chore: update
1 parent 56d601c commit 733efb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async function retryAsync<T>(fn: () => Promise<T>, retries: number): Promise<T>
117117
export async function downloadWitchPack(name: string, tempDir: string, retry: number, logger: any) {
118118
await retryAsync(() => {
119119
return new Promise((resolve, reject) => {
120-
const { result, status } = jsShell(`npm pack ${name} --pack-destination ${tempDir}`, 'ignore')
120+
const { result, status } = jsShell(`npm pack ${name} --pack-destination ${tempDir}`)
121121
if (status !== 0) {
122122
logger.error(result)
123123
reject(result)
@@ -135,7 +135,7 @@ export async function downloadWitchPack(name: string, tempDir: string, retry: nu
135135
export async function downloadWithNpmHttp(name: string, tempDir: string, tempFile: string, retry: number, logger: any) {
136136
const tarballUrl = await retryAsync(async () => {
137137
return new Promise((resolve, reject) => {
138-
const { result, status } = jsShell(`npm view ${name} dist.tarball`, 'ignore')
138+
const { result, status } = jsShell(`npm view ${name} dist.tarball`)
139139
if (status !== 0) {
140140
logger.error(result)
141141
reject(result)

0 commit comments

Comments
 (0)