Remove unused variable `CONFIGS_WITH_METHODS`

This commit is contained in:
James M. Greene 2022-07-15 11:29:04 -05:00 коммит произвёл GitHub
Родитель 26a8d155cf
Коммит e70dc28602
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -62,13 +62,6 @@ module GitHubPages
},
}.freeze
# These configuration settings have corresponding instance variables on
# Jekyll::Site and need to be set properly when the config is updated.
CONFIGS_WITH_METHODS = %w(
safe lsi highlighter baseurl exclude include future unpublished
show_drafts limit_posts keep_files
).freeze
class << self
def processed?(site)
site.instance_variable_get(:@_github_pages_processed) == true