MCPcopy Create free account
hub / github.com/github/gh-aw / formatStepEnvValueForYAML

Function formatStepEnvValueForYAML

pkg/workflow/compiler_yaml_step_conversion.go:210–216  ·  view source on GitHub ↗
(value any)

Source from the content-addressed store, hash-verified

208}
209
210func formatStepEnvValueForYAML(value any) string {
211 strValue, ok := value.(string)
212 if !ok {
213 return fmt.Sprint(value)
214 }
215 return yamlStringValue(strValue)
216}

Callers 1

renderStepFromMapMethod · 0.85

Calls 1

yamlStringValueFunction · 0.85

Tested by

no test coverage detected