mirror of https://github.com/embarklabs/embark.git
fix(parity): create password file even when there are no accounts
This commit is contained in:
parent
d6de169572
commit
7d2ceaacb1
|
@ -257,9 +257,6 @@ class ParityClient {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function updatePasswordFile(passwordList, next) {
|
function updatePasswordFile(passwordList, next) {
|
||||||
if (!self.config.account.password) {
|
|
||||||
return next();
|
|
||||||
}
|
|
||||||
fs.writeFile(self.config.account.devPassword, passwordList, next);
|
fs.writeFile(self.config.account.devPassword, passwordList, next);
|
||||||
}
|
}
|
||||||
], (err) => {
|
], (err) => {
|
||||||
|
|
Loading…
Reference in New Issue