Skip to content

Commit

Permalink
chore: setting proper error message for missing lefthook file (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadienvan committed Jun 14, 2024
1 parent 14f712b commit 8959135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func readOne(fs afero.Fs, path string, names []string) (*viper.Viper, error) {
return v, nil
}

return nil, NotFoundError{fmt.Sprintf("No config files with names %q could not be found in \"%s\"", names, path)}
return nil, NotFoundError{fmt.Sprintf("No config files with names %q have been found in \"%s\"", names, path)}
}

// mergeAll merges configs using the following order.
Expand Down

0 comments on commit 8959135

Please sign in to comment.