mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
Reset service local
This commit is contained in:
parent
24aecc553b
commit
71c5b75198
@ -179,7 +179,7 @@ class Test {
|
||||
|
||||
checkDeploymentOptions(options, callback) {
|
||||
const self = this;
|
||||
self.resetServices = false;
|
||||
let resetServices = false;
|
||||
const {host, port, type, accounts} = options.deployment || {};
|
||||
|
||||
if (host && port && !['rpc', 'ws'].includes(type)) {
|
||||
@ -187,7 +187,7 @@ class Test {
|
||||
}
|
||||
|
||||
if(accounts || port !== this.simOptions.port || type !== this.simOptions.type || host !== this.simOptions.host) {
|
||||
self.resetServices = true;
|
||||
resetServices = true;
|
||||
}
|
||||
if (accounts) {
|
||||
self.simOptions.accounts = AccountParser.parseAccountsConfig(accounts, self.web3);
|
||||
@ -201,7 +201,7 @@ class Test {
|
||||
type
|
||||
});
|
||||
|
||||
if (!self.resetServices && !self.firstRunConfig) {
|
||||
if (!resetServices && !self.firstRunConfig) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user