Skip to content

Commit

Permalink
fix(icon): fork without original process args (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
1ed authored Sep 8, 2020
1 parent c59a9dc commit 8b1f19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icon/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async function resizeIcons (options) {
await fs.mkdirp(options.cacheDir)

await new Promise((resolve, reject) => {
const child = fork(require.resolve('./resize'), [resizeOpts])
const child = fork(require.resolve('./resize'), [resizeOpts], { execArgv: [] })
child.on('exit', (code) => {
return code ? reject(code) : resolve()
})
Expand Down

0 comments on commit 8b1f19f

Please sign in to comment.