Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: tison <wander4096@gmail.com>
pull/31431/head
tison 1 month ago committed by GitHub
parent b7c03dabf9
commit fc09121589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -157,6 +157,7 @@ func toTOML(v any) string {
b := bytes.NewBuffer(nil)
e := toml.NewEncoder(b)
if err := e.Encode(v); err != nil {
// Errors are intentionally swallowed in templates.
return ""
}
return b.String()

Loading…
Cancel
Save