cli: Display errors in `patch ready` when wrong type of patch is provided
Instead of doing nothing and going to sync no change, we should display some error to the users that we haven’t been able to apply the changes.
2 files changed
+12
-5
0a78b9cc
→
d38846ba
modified radicle-cli/src/commands/patch.rs
@@ -732,7 +732,15 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/patch/ready.rs
@@ -8,7 +8,7 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,9 +16,8 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
|