Skip to content

Commit e12cd50

Browse files
Update internal/qa/qa.go
Co-authored-by: Olivier Cano <kindermoumoute@users.noreply.github.com>
1 parent 75e3bfa commit e12cd50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/qa/qa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func testAtLeastOneExampleIsPresentError(commands *core.Commands) []error {
339339
continue
340340
}
341341

342-
if len(command.Examples) < 1 {
342+
if len(command.Examples) == 0 {
343343
errors = append(errors, &MissingExampleError{Command: command})
344344
continue
345345
}

0 commit comments

Comments
 (0)