aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/deploy.rs3
-rw-r--r--src/lib.rs8
-rw-r--r--src/push.rs2
3 files changed, 0 insertions, 13 deletions
diff --git a/src/deploy.rs b/src/deploy.rs
index cc31a62..03c3623 100644
--- a/src/deploy.rs
+++ b/src/deploy.rs
@@ -139,9 +139,6 @@ fn test_wait_command_builder() {
#[derive(Error, Debug)]
pub enum DeployProfileError {
- #[error("Failed to calculate activate bin path from deploy bin path: {0}")]
- DeployPathToActivatePathError(#[from] super::DeployPathToActivatePathError),
-
#[error("Failed to spawn activation command over SSH: {0}")]
SSHSpawnActivateError(std::io::Error),
diff --git a/src/lib.rs b/src/lib.rs
index 6a6873f..edc0507 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -414,11 +414,3 @@ pub fn make_deploy_data<'a, 's>(
log_dir,
}
}
-
-#[derive(Error, Debug)]
-pub enum DeployPathToActivatePathError {
- #[error("Deploy path did not have a parent directory")]
- PathTooShort,
- #[error("Deploy path was not valid utf8")]
- InvalidUtf8,
-}
diff --git a/src/push.rs b/src/push.rs
index e7456cc..2f83019 100644
--- a/src/push.rs
+++ b/src/push.rs
@@ -10,8 +10,6 @@ use thiserror::Error;
#[derive(Error, Debug)]
pub enum PushProfileError {
- #[error("Failed to calculate activate bin path from deploy bin path: {0}")]
- DeployPathToActivatePathError(#[from] super::DeployPathToActivatePathError),
#[error("Failed to run Nix build command: {0}")]
BuildError(std::io::Error),
#[error("Nix build command resulted in a bad exit code: {0:?}")]