Skip to content

Commit bd9c0b9

Browse files
committed
escape to avoid d2 reserved keyword error
1 parent 9e0a3dd commit bd9c0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merkle/merkle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const d2FormatTagToVal = `"%s" -> "%s"
2727
`
2828

2929
const d2FormatTagDeclareHash = `"%s" : {
30-
"%s"
30+
\"%s"
3131
}
3232
`
3333

0 commit comments

Comments
 (0)