mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
prevent unhashable panic
This commit is contained in:
@@ -91,7 +91,7 @@ func anyToArgon(x any, quote bool, simplify bool, depth int, indent int, colored
|
||||
keyval := ""
|
||||
|
||||
if typeof(key) != "string" || !SpacelessVariableCompiled.MatchString(key.(string)) {
|
||||
keyval = anyToArgon(key, true, true, depth-1, indent+1, colored, plain)
|
||||
keyval = anyToArgon(key, true, true, depth, indent+1, colored, plain)
|
||||
} else {
|
||||
outputkeyval := []string{}
|
||||
if colored {
|
||||
|
||||
Reference in New Issue
Block a user