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:
authorEvan Read <eread@gitlab.com>2020-11-17 08:34:03 +0300
committerEvan Read <eread@gitlab.com>2020-11-17 08:34:03 +0300
commit26829df4a056d42168c9c180568caa598b39729f (patch)
tree22c1c117e888b85607fe5a08b52545b4952f1c97 /lib/checks
parent5f11c2ad21e111fdd6701e17b520883710e4809e (diff)
Fix two Rubocop errors
Diffstat (limited to 'lib/checks')
-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