mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 03:43:44 +03:00
Fix retries bug (test4)
Change args scheme in calls of the modified function
This commit is contained in:
parent
b5154f6453
commit
f43eafaf8a
|
@ -539,7 +539,7 @@
|
||||||
throw new Error('Key must be defined.');
|
throw new Error('Key must be defined.');
|
||||||
}
|
}
|
||||||
if (this.currentProviderKey !== key) {
|
if (this.currentProviderKey !== key) {
|
||||||
return this.syncWithPacProviderAsync(key, cb);
|
return this.syncWithPacProviderAsync({ key }, cb);
|
||||||
}
|
}
|
||||||
console.log(key + ' already installed.');
|
console.log(key + ' already installed.');
|
||||||
cb();
|
cb();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user