Skip to content

Update index.go - fixes compatibility with package_seeeduino_boards_index.json #1337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update index.go
Relaxed Unmarshaling of numeric size value
  • Loading branch information
bmitov committed Jun 24, 2021
commit 9987d8f046c2b3188d65c751a9c01adf6f20ec74
2 changes: 1 addition & 1 deletion arduino/cores/packageindex/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type indexToolReleaseFlavour struct {
OS string `json:"host,required"`
URL string `json:"url,required"`
ArchiveFileName string `json:"archiveFileName,required"`
Size json.Number `json:"size,required"`
Size json.Number `json:"size,required,string"`
Checksum string `json:"checksum,required"`
}

Expand Down