allow for negative ints 😂
This commit is contained in:
parent
034aa8648f
commit
121b967793
|
@ -428,7 +428,7 @@ func (e *Entry) AsMap() any {
|
|||
}
|
||||
return boolVal
|
||||
case "int":
|
||||
var intVal uint64
|
||||
var intVal int64
|
||||
err := e.asNode().Decode(&intVal)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("could not encode int at %s, %s", e.Path, err))
|
||||
|
|
Loading…
Reference in New Issue