Fix retries bug (test4)

Change args scheme in calls of the modified function
This commit is contained in:
ilyaigpetrov 2021-05-26 16:43:28 +00:00
parent b5154f6453
commit f43eafaf8a

View File

@ -539,7 +539,7 @@
throw new Error('Key must be defined.');
}
if (this.currentProviderKey !== key) {
return this.syncWithPacProviderAsync(key, cb);
return this.syncWithPacProviderAsync({ key }, cb);
}
console.log(key + ' already installed.');
cb();