fix: clean long line
This commit is contained in:
parent
048971fdb3
commit
4314e162c6
1 changed files with 5 additions and 1 deletions
|
|
@ -36,7 +36,11 @@ function handleError (error) {
|
|||
switch(error.code) {
|
||||
case -13:
|
||||
{
|
||||
if (fs.existsSync(path.resolve(walletDir, 'Wallet')) && fs.existsSync(path.resolve(walletDir, 'Wallet.keys')) && fs.existsSync(path.resolve(walletDir, 'Wallet.address.txt'))) {
|
||||
if (
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet')) &&
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet.keys')) &&
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet.address.txt'))
|
||||
) {
|
||||
logger.debug('Found wallet! Opening wallet...')
|
||||
return openWallet()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue