Skip to content

Commit

Permalink
update identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Oct 2, 2024
1 parent 556dadf commit 79199d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async fn update(context: Context<impl Environment>, calcite_ref_singleton: &Calc
// for each env var present in the map from the metadata file, replace the placeholder in the model file
for (key, value) in &env_var_map {
// include the identifiers with the env var to avoid replacing the wrong value
let env_var_identifier = format!("<$>{}<$>", key);
let env_var_identifier = format!("<$>{}", key);
model_file_value = model_file_value.replace(&env_var_identifier, value);
}
// check if there is any placeholder left in the model file, which means
Expand Down

0 comments on commit 79199d6

Please sign in to comment.