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
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filters/gitlab_kramdown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filters/gitlab_kramdown.rb b/lib/filters/gitlab_kramdown.rb
index 64a1d17a..63f4309f 100644
--- a/lib/filters/gitlab_kramdown.rb
+++ b/lib/filters/gitlab_kramdown.rb
@@ -35,7 +35,7 @@ module Nanoc::Filters
if warning_filters
r = Regexp.union(warning_filters)
- warnings = document.warnings.reject { |warning| r =~ warning }
+ warnings = document.warnings.grep_v(r)
else
warnings = document.warnings
end