You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, the string is coerced into a JNumber type (json type).
I think one could solve this by handling the deserialization as a map[string]interface{} rather than a map[string]string and then converting the type using fmt.Sprintf("%v", ...).
The text was updated successfully, but these errors were encountered:
When using a legacy Drone YAML using this plugin, a number encoded as a string injected into the
vars
field will panic withExample YAML:
This gets transformed internally by Drone into:
So, the string is coerced into a JNumber type (json type).
I think one could solve this by handling the deserialization as a
map[string]interface{}
rather than amap[string]string
and then converting the type usingfmt.Sprintf("%v", ...)
.The text was updated successfully, but these errors were encountered: