Skip to content

Commit 5fc6787

Browse files
committed
Fixed nasty regression in properties map creation
Fix #62
1 parent da0e8af commit 5fc6787

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arduino/cores/status.go

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ func (packages *Packages) GetOrCreatePackage(packager string) *Package {
5858
Platforms: map[string]*Platform{},
5959
Tools: map[string]*Tool{},
6060
Packages: packages,
61-
//Properties: properties.Map{},
6261
}
6362
packages.Packages[packager] = targetPackage
6463
return targetPackage

commands/upload/upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func run(command *cobra.Command, args []string) {
158158
}
159159

160160
// Build configuration for upload
161-
uploadProperties := properties.Map{}
161+
uploadProperties := properties.NewMap()
162162
if referencedPlatformRelease != nil {
163163
uploadProperties.Merge(referencedPlatformRelease.Properties)
164164
}

0 commit comments

Comments
 (0)