feat(git): Remove the failure code from the error type
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -207,7 +207,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "git"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"command-with-spinner",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "git"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
|
||||
edition.workspace = true
|
||||
authors.workspace = true
|
||||
|
@@ -1,9 +1,6 @@
|
||||
/// Git operations error type
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum GitError {
|
||||
#[error("Command failed with exit code: {0}")]
|
||||
Failed(i32),
|
||||
|
||||
#[error("Command failed without exit code")]
|
||||
FailedNoCode,
|
||||
|
||||
|
Reference in New Issue
Block a user