Skip to content

Commit 8b1f19f

Browse files
authored
fix(icon): fork without original process args (#343)
1 parent c59a9dc commit 8b1f19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/icon/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ async function resizeIcons (options) {
219219
await fs.mkdirp(options.cacheDir)
220220

221221
await new Promise((resolve, reject) => {
222-
const child = fork(require.resolve('./resize'), [resizeOpts])
222+
const child = fork(require.resolve('./resize'), [resizeOpts], { execArgv: [] })
223223
child.on('exit', (code) => {
224224
return code ? reject(code) : resolve()
225225
})

0 commit comments

Comments
 (0)