Skip to content

Commit bb30f0a

Browse files
Update arduino/libraries/loader.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 881fec3 commit bb30f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino/libraries/loader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func makeLegacyLibrary(path *paths.Path, location LibraryLocation) (*Library, er
130130
if foundHeader, err := containsHeaderFile(path); err != nil {
131131
return nil, err
132132
} else if !foundHeader {
133-
return nil, errors.Errorf(tr("library not valid"))
133+
return nil, errors.Errorf(tr("invalid library: no header files found"))
134134
}
135135
library := &Library{
136136
InstallDir: path.Canonical(),

0 commit comments

Comments
 (0)