debugger: Fix environment variables not being substituted in debug tasks (#31198)
Release Notes: - Debugger Beta: Fixed a bug where environment variables were not substituted in debug tasks in some cases. Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Remco Smits <djsmits12@gmail.com>
This commit is contained in:
parent
37047a6fde
commit
ad4645c59b
1 changed files with 1 additions and 0 deletions
|
@ -927,6 +927,7 @@ impl RunningState {
|
|||
.ok_or_else(|| anyhow!("{}: is not a valid adapter name", &adapter))
|
||||
.map(|adapter| adapter.config_from_zed_format(zed_config))??;
|
||||
config = scenario.config;
|
||||
Self::substitute_variables_in_config(&mut config, &task_context);
|
||||
} else {
|
||||
anyhow::bail!("No request or build provided");
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue