Skip to content

Commit aca2800

Browse files
authored
Fix: adds parent process envs to aws cli tool command (#115)
1 parent f29239a commit aca2800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/chat-cli/src/cli/chat/tools/use_aws.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl UseAws {
5151

5252
pub async fn invoke(&self, _ctx: &Context, _updates: impl Write) -> Result<InvokeOutput> {
5353
let mut command = tokio::process::Command::new("aws");
54+
command.envs(std::env::vars());
5455

5556
// Set up environment variables
5657
let mut env_vars: std::collections::HashMap<String, String> = std::env::vars().collect();

0 commit comments

Comments
 (0)