Skip to content

Commit 361afa1

Browse files
authored
Merge pull request #81 from arduino/per1234/fix-library_properties-regex
Fix regex for detecting misspelled library.properties
2 parents aa2cfbf + e1ae134 commit 361afa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: check/checkfunctions/library.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func MisspelledLibraryPropertiesFileName() (result checkresult.Type, output stri
6060
}
6161
directoryListing.FilterOutDirs()
6262

63-
path, found := containsMisspelledPathBaseName(directoryListing, "library.properties", "(?i)^librar(y)|(ie)s?[.-_]?propert(y)|(ie)s?$")
63+
path, found := containsMisspelledPathBaseName(directoryListing, "library.properties", "(?i)^librar((y)|(ie))s?[.-_]?propert((y)|(ie))s?$")
6464
if found {
6565
return checkresult.Fail, path.String()
6666
}

0 commit comments

Comments
 (0)