Skip to content

Commit

Permalink
deleted omitempty tags from PackageInfo fields: Name, Version
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Jul 27, 2023
1 parent e68b8c7 commit 720c2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/utils/npm.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ func GetNpmVersionAndExecPath(log utils.Log) (*version.Version, string, error) {
}

type PackageInfo struct {
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
Name string `json:"name"`
Version string `json:"version"`
Dependencies map[string]string `json:"dependencies"`
DevDependencies map[string]string `json:"devDependencies"`
PeerDependencies map[string]string `json:"peerDependencies"`
Expand Down

0 comments on commit 720c2e4

Please sign in to comment.