Skip to content

Commit

Permalink
Fixed incorrect method doc. (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregFurmanek authored Jun 17, 2022
1 parent bbb743a commit 12d16fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func ReadConfigsJSON(f io.Reader) (Configs, error) {
return c, nil
}

// ReadConfigsYAML reads Configs from a JSON file.
// ReadConfigsYAML reads Configs from a YAML(.yml or .yaml) file.
func ReadConfigsYAML(f io.Reader) (Configs, error) {
b, err := ioutil.ReadAll(f)
if err != nil {
Expand Down

0 comments on commit 12d16fb

Please sign in to comment.