Merge pull request #155 from greg-dennis/patch-1

Fix typo in comment
This commit is contained in:
Joël Stemmer 2022-12-11 17:24:25 +00:00 committed by GitHub
commit bfac3ec01f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ type Package struct {
func (p *Package) SetProperty(key, value string) { func (p *Package) SetProperty(key, value string) {
// TODO(jstemmer): Delete this method in the next major release. // TODO(jstemmer): Delete this method in the next major release.
// Delete all the properties whose name is the specified key, // Delete all the properties whose name is the specified key,
// then add the specieid key-value property. // then add the specified key-value property.
i := 0 i := 0
for _, prop := range p.Properties { for _, prop := range p.Properties {
if key != prop.Name { if key != prop.Name {