aboutsummaryrefslogtreecommitdiff
path: root/src/bin/activate.rs
diff options
context:
space:
mode:
authorAlexander Bantyev2021-06-22 14:57:50 +0300
committerAlexander Bantyev2021-06-22 14:57:50 +0300
commit1d88b8409ed24efd52889c73a0938a2ab29d3022 (patch)
tree2b059be8e8049cf83190d39ba23f9248c0e4795c /src/bin/activate.rs
parent1a2d35be27de412bd2c406ed01189dc93ae0985a (diff)
Cargo fmt
Diffstat (limited to 'src/bin/activate.rs')
-rw-r--r--src/bin/activate.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/activate.rs b/src/bin/activate.rs
index 6e18652..9cf8819 100644
--- a/src/bin/activate.rs
+++ b/src/bin/activate.rs
@@ -390,7 +390,11 @@ pub async fn activate(
debug!("Running activation script");
- let activation_location = if dry_activate { &closure } else { &profile_path };
+ let activation_location = if dry_activate {
+ &closure
+ } else {
+ &profile_path
+ };
let activate_status = match Command::new(format!("{}/deploy-rs-activate", activation_location))
.env("PROFILE", activation_location)