FuelLabs/forc-wallet

Wallet already exists warning is not correct

Opened this issue · 1 comments

I tried generating a new folder and creating a new wallet at that location. I see that:

warning: There is an existing wallet at ../../wallet. Do you wish to replace it with a new wallet? (y/N)

Which is not possible as the folder is newly created. I think there is an issue about checking the existing wallet.

We currently check if the path exists but we want to also check if it is empty.