diff options
author | notgne2 | 2021-01-08 19:08:34 -0700 |
---|---|---|
committer | notgne2 | 2021-01-08 19:08:34 -0700 |
commit | dc26fba1bd908fbdf1b3d702ad67cbb351952e7a (patch) | |
tree | c51d559f7f48ea65c840bc9f2aa04b6d92a1fc22 /src | |
parent | f33081cc8cf6aa204c6b1cfd3e658621139f8e43 (diff) |
Remove unused DeployPathToActivatePathError
Diffstat (limited to 'src')
-rw-r--r-- | src/deploy.rs | 3 | ||||
-rw-r--r-- | src/lib.rs | 8 | ||||
-rw-r--r-- | src/push.rs | 2 |
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), @@ -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:?}")] |