From 5a88f9d3310dc66e90ec51ea75a11d8f6cde1822 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Fri, 30 Dec 2022 17:08:14 -0800 Subject: [PATCH] [ci-force] missed case --- d2plugin/exec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d2plugin/exec.go b/d2plugin/exec.go index acb8a9618..efbfcd970 100644 --- a/d2plugin/exec.go +++ b/d2plugin/exec.go @@ -82,6 +82,8 @@ func (p *execPlugin) HydrateOpts(opts []byte) error { allString[k] = vt case int64: allString[k] = strconv.Itoa(int(vt)) + case float64: + allString[k] = strconv.Itoa(int(vt)) } }