From ee24751e92330a010f31a315c961f60d066dc5d9 Mon Sep 17 00:00:00 2001 From: Jeff Anders Date: Tue, 9 Nov 2021 20:21:22 -0700 Subject: [PATCH] make the error go away, jekyll press, you rascall --- _plugins/jekyll-press-plugin.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_plugins/jekyll-press-plugin.rb b/_plugins/jekyll-press-plugin.rb index 38d202b..43f741c 100644 --- a/_plugins/jekyll-press-plugin.rb +++ b/_plugins/jekyll-press-plugin.rb @@ -1,2 +1,7 @@ require 'jekyll-press' + +# This is a hack for fixing Jekyll Press. We need the @@mtimes variable, +# and we want to ignore the warning that ruby throws when you declare it. +original_verbose, $VERBOSE = $VERBOSE, nil @@mtimes = {} +$VERBOSE = original_verbose