Skip to content

Commit 81a1a8f

Browse files
committed
Drop deprecated Jekyll options from rake tasks
1 parent 37ffbcd commit 81a1a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ task :generate do
2323
Encoding.default_external = Encoding::UTF_8
2424
end
2525

26-
options = Jekyll.configuration({'auto' => false, 'server' => false})
26+
options = Jekyll.configuration
2727
puts "Building site: #{options['source']} -> #{options['destination']}"
2828
$stdout.flush
2929
Jekyll::Site.new(options).process
@@ -210,7 +210,7 @@ namespace :check do
210210

211211
desc 'validate _site markup with validate-website'
212212
task :markup => :generate do
213-
options = Jekyll.configuration({'auto' => false, 'server' => false})
213+
options = Jekyll.configuration
214214
Dir.chdir('_site') do
215215
system("validate-website-static --site '#{options['url']}/' --quiet")
216216
exit($?.exitstatus)

0 commit comments

Comments
 (0)