Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/checks/anchors.rb')
-rw-r--r--lib/checks/anchors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checks/anchors.rb b/lib/checks/anchors.rb
index 21904e35..91238bfc 100644
--- a/lib/checks/anchors.rb
+++ b/lib/checks/anchors.rb
@@ -23,5 +23,5 @@ Nanoc::Check.define(:internal_anchors) do
end
end
end
- add_issue "#{issues.count} offenses found!" if issues.count > 0
+ add_issue "#{issues.count} offenses found!" if issues.count.positive?
end