Skip to content

Commit

Permalink
Downcase error string to please linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtaylor committed Aug 30, 2021
1 parent 5ca5950 commit acbd495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wofdata/wofdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (d *WOFData) exportFeature(json string, originalJSON string) (changed bool,

idResult := gjson.GetBytes(jsonBytes, "id")
if !idResult.Exists() {
err = errors.New("Missing `id` field in JSON")
err = errors.New("missing `id` field in JSON")
return
}

Expand Down

0 comments on commit acbd495

Please sign in to comment.