fix: don't call next twice

This commit is contained in:
calebboyd
2017-08-31 10:02:12 -05:00
parent 7d0cdd7a50
commit c7af89f12c
+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()