fix(support): sanitize manifest (#12711)

This commit is contained in:
Cian Johnston
2024-03-21 19:55:34 +00:00
committed by GitHub
parent f2a9e515df
commit 28730ca3d8
4 changed files with 31 additions and 11 deletions
+1 -3
View File
@@ -95,9 +95,7 @@ func (b WorkspaceBuildBuilder) WithAgent(mutations ...func([]*sdkproto.Agent) []
Auth: &sdkproto.Agent_Token{
Token: b.agentToken,
},
Env: map[string]string{
"SECRET_TOKEN": "supersecret",
},
Env: map[string]string{},
}}
for _, m := range mutations {
agents = m(agents)