Skip to content

Commit

Permalink
Merge pull request #155 from vercel:fix/unmarshal-package
Browse files Browse the repository at this point in the history
Fix packageJson struct
  • Loading branch information
jaredpalmer committed Dec 9, 2021
2 parents 530584b + 9111a27 commit 1cc94e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/internal/fs/package_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ type PackageJSON struct {
OptionalDependencies map[string]string `json:"optionalDependencies,omitempty"`
PeerDependencies map[string]string `json:"peerDependencies,omitempty"`
Os []string `json:"os,omitempty"`
Workspaces Workspaces `json:"workspaces"`
Private bool `json:"private"`
Workspaces Workspaces `json:"workspaces,omitempty"`
Private bool `json:"private,omitempty"`
PackageJSONPath string
Hash string
Dir string
Expand Down

1 comment on commit 1cc94e6

@vercel
Copy link

@vercel vercel bot commented on 1cc94e6 Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.