Skip to content

Commit bc1ebfd

Browse files
4xposedDaniel Climent
andauthored
fix: add json annotations for ntoml.Plugin (#353)
Co-authored-by: Daniel Climent <[email protected]>
1 parent d7751ae commit bc1ebfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ntoml/netlify_toml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ type BuildConfig struct {
4040
}
4141

4242
type Plugin struct {
43-
Package string `toml:"package"`
44-
PinnedVersion string `toml:"pinned_version,omitempty"`
43+
Package string `toml:"package" json:"package"`
44+
PinnedVersion string `toml:"pinned_version,omitempty" json:"pinned_version,omitempty"`
4545
}
4646

4747
type DeployContext struct {

0 commit comments

Comments
 (0)