Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0e1ed24

Browse files
committedJun 22, 2021
Correct typos in package index rule function doc comments
This was a copy/paste typo.
1 parent 5ef2649 commit 0e1ed24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎internal/rule/rulefunction/packageindex.go

Lines changed: 2 additions & 2 deletions
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)
Please sign in to comment.