mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-29 01:02:26 +03:00
Set working directory during activation to the profile path
This commit is contained in:
parent
f2e5b9b393
commit
e5bd558c5b
@ -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?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user