coffee-tools / coffee-tools/coffee

nurse command is not working as should

Open
#233 2 comments 0 reactions 2 assignees Claimed by @vincenzopalazzo View on GitHub
🐛 - bug P-hight
Dominant language
Rust
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I think the following cases is missing by the coffee nurse command

```
➜ ~ coffee --network testnet remote add folgore-git https://github.com/coffee-tools/folgore.git
✗ Fetch remote from https://github.com/coffee-tools/folgore.git error: Error while add remote: code: 1, msg: '/home/vincent/.coffee/repositories/folgore-git' exists and is not an empty directory
✗ Error: code: 1, msg: '/home/vincent/.coffee/repositories/folgore-git' exists and is not an empty directory
➜ ~ coffee --network testnet nurse
✓ Coffee configuration is not corrupt! No need to run coffee nurse
```

cc @tareknaser

I think we should trust our database, and if in the database there is nothing we wipe everything there is on disk. What do you think?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.