Skip to content

Commit

Permalink
fix: typo (#146)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <[email protected]>
  • Loading branch information
greut committed Oct 2, 2022
1 parent ab8e621 commit eb419c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Change log

## v2.5.1 - 2022-10-02

- Fix typo in new method

## v2.5.0 - 2022-10-01

- Feature add a graceful parser that reports errors in the .editorconfig file as warnings
Expand Down
2 changes: 1 addition & 1 deletion editorconfig.go
Expand Up @@ -282,7 +282,7 @@ func GetDefinitionForFilename(filename string) (*Definition, error) {
// the right editorconfig definition for the given file.
//
// In case of non-fatal errors, a multierror warning is return as well.
func GetDefinitionForFilenameGracefuGracefull(filename string) (*Definition, error, error) {
func GetDefinitionForFilenameGraceful(filename string) (*Definition, error, error) {
config := new(Config)

return config.LoadGraceful(filename)
Expand Down

0 comments on commit eb419c7

Please sign in to comment.