aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/activate.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/activate.rs b/src/activate.rs
index 38fc832..0b7d28d 100644
--- a/src/activate.rs
+++ b/src/activate.rs
@@ -77,6 +77,7 @@ pub async fn activate(
let activate_status = Command::new(format!("{}/deploy-rs-activate", profile_path))
.env("PROFILE", &profile_path)
+ .current_dir(&profile_path)
.status()
.await;
@@ -144,6 +145,7 @@ pub async fn activate(
let re_activate_exit_status = Command::new(format!("{}/deploy-rs-activate", profile_path))
.env("PROFILE", &profile_path)
+ .current_dir(&profile_path)
.status()
.await?;