inline workspace xml format args

This commit is contained in:
pash
2026-01-29 00:13:57 -08:00
parent 62ea1d6940
commit ffa0486a41

View File

@@ -100,10 +100,8 @@ impl EnvironmentContext {
if let Some(workspace_configuration) = self.workspace_configuration {
lines.push(" <workspace_configuration>".to_string());
for (path, workspace) in workspace_configuration.workspaces {
lines.push(format!(
" <workspace path=\"{path}\" hint=\"{}\">",
workspace.hint
));
let hint = workspace.hint;
lines.push(format!(" <workspace path=\"{path}\" hint=\"{hint}\">"));
if let Some(latest_git_commit_hash) = workspace.latest_git_commit_hash {
lines.push(format!(