Skip to content

Commit 9954738

Browse files
committed
Updated todo rule description.
1 parent da1ea48 commit 9954738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Moulinette/Rules/ToDoCountSwiftRule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ToDoCountSwiftRule: SwiftRule {
2929

3030
let count = allContents.components(separatedBy: "TODO").count - 1
3131
if count > ToDoCountSwiftRule.maxTodoCount {
32-
auditGrader.failed(description: "More than \(ToDoCountSwiftRule.maxTodoCount) found. (\(count) found.)", nameId: nameId)
32+
auditGrader.failed(description: "There should be less than 10 TODOs: More than \(ToDoCountSwiftRule.maxTodoCount) found. (\(count) found.)", nameId: nameId)
3333
}
3434

3535
return auditGrader.generateGrade()

0 commit comments

Comments
 (0)