fix: don't call next twice

This commit is contained in:
calebboyd
2017-08-31 10:02:12 -05:00
parent e62cd19b42
commit 0340c01b36
+1 -1
View File
@@ -37,7 +37,7 @@ export default async function downloadNode(compiler: NexeCompiler, next: () => P
}
if (compiler.options.build) {
await fetchNodeSourceAsync(src, url, step, downloadOptions).then(next)
await fetchNodeSourceAsync(src, url, step, downloadOptions)
}
return next()