mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 17:50:24 +00:00
fixed goreportcard stuff
This commit is contained in:
@@ -66,7 +66,7 @@ func (fm *fontManager) getFont(fontName string) *font {
|
||||
func (fm *fontManager) loadFontList(fontPath string) error {
|
||||
// Walk through the path
|
||||
return filepath.Walk(fontPath, func(path string, info os.FileInfo, err error) error {
|
||||
// Return an error if occured
|
||||
// Return an error if occurred
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user