Skip to content
Snippets Groups Projects
Commit a4d7ba31 authored by Aya Morisawa's avatar Aya Morisawa
Browse files

parent 6f535faa
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ async function init(): Promise<InitResult> {
return warn ? InitResult.Warn : InitResult.Success;
}
function spawnWorkers(callback: any): void {
function spawnWorkers(onComplete: any): void {
// Count the machine's CPUs
const cpuCount = os.cpus().length;
......@@ -185,7 +185,7 @@ function spawnWorkers(callback: any): void {
// On all workers started
progress.on('complete', () => {
callback();
onComplete();
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment