From 9e3fe463ea87dbb962310977a9272c36133ec075 Mon Sep 17 00:00:00 2001 From: lorin Date: Sun, 15 Jul 2018 19:20:36 +0200 Subject: [PATCH] Update preprocess.rb --- lib/helpers/preprocess.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/preprocess.rb b/lib/helpers/preprocess.rb index 377bf46..7553844 100644 --- a/lib/helpers/preprocess.rb +++ b/lib/helpers/preprocess.rb @@ -27,7 +27,7 @@ module PreprocessHelper @items.delete_if do |item| next unless item.identifier.match?(%r{^/#{path}/}) year = item.identifier.to_s.match(%r{/(\d\d-\d\d)/})[1] - not latest_years.include?(year) + !latest_years.include?(year) end end end