Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: repo fsck is deprecated (#1438)
`ipfs repo fsck` seems to have been deprecated (ipfs/kubo@288a83c) in the meanwhile so our logic wasn't working. I changed it so now we manually check if it's a connection refused error. If so, check if there's a config file. If so, remove the api file. If no config file, then it's a remote api connection, show error to the user. License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
- Loading branch information