X Tutup
Skip to content

Commit 1643ccf

Browse files
committed
change the metadata type to be a bit more strict
1 parent 6faa939 commit 1643ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type Candidate struct {
4949
JarInfo *JarInfo `json:"jarInfo,omitempty"`
5050
// Any other info.
5151
// @optional
52-
Metadata interface{} `json:"metadata,omitempty"`
52+
Metadata map[string]any `json:"metadata,omitempty"`
5353
}
5454

5555
// Flavor describes whether we're dealing with a native executables, a Java archive, a love2d bundle, etc.

0 commit comments

Comments
 (0)
X Tutup