Skip to content

Commit 718be7e

Browse files
authored
Merge pull request #195 from per1234/typo
Correct typos in package index rule function doc comments
2 parents 5ef2649 + 0e1ed24 commit 718be7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: internal/rule/rulefunction/packageindex.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func PackageIndexPackagesNameIncorrectType() (result ruleresult.Type, output str
187187
return ruleresult.Pass, ""
188188
}
189189

190-
// PackageIndexPackagesNameLTMinLength checks for incorrect type of the packages[].name property.
190+
// PackageIndexPackagesNameLTMinLength checks for packages[].name property less than the minimum length.
191191
func PackageIndexPackagesNameLTMinLength() (result ruleresult.Type, output string) {
192192
if projectdata.PackageIndexLoadError() != nil {
193193
return ruleresult.NotRun, "Error loading package index"
@@ -274,7 +274,7 @@ func PackageIndexPackagesMaintainerIncorrectType() (result ruleresult.Type, outp
274274
return ruleresult.Pass, ""
275275
}
276276

277-
// PackageIndexPackagesMaintainerLTMinLength checks for incorrect type of the packages[].maintainer property.
277+
// PackageIndexPackagesMaintainerLTMinLength checks for packages[].maintainer property less than the minimum length.
278278
func PackageIndexPackagesMaintainerLTMinLength() (result ruleresult.Type, output string) {
279279
if projectdata.PackageIndexLoadError() != nil {
280280
return ruleresult.NotRun, "Error loading package index"

0 commit comments

Comments
 (0)