Use more efficient merge

This commit is contained in:
Christopher Nicotera 2013-08-22 11:31:55 -04:00
parent fb1003c06f
commit 4b4103cc4a
1 changed files with 2 additions and 3 deletions

View File

@ -122,11 +122,10 @@ command :docs do |c|
c.action do |args, options|
options = normalize_options(options.__hash__)
options = options.merge({
options = Jekyll.configuration(options.merge!({
'source' => File.expand_path("../site", File.dirname(__FILE__)),
'destination' => File.expand_path("../site/_site", File.dirname(__FILE__))
})
options = Jekyll.configuration(options)
}))
puts options
Jekyll::Commands::Build.process(options)
Jekyll::Commands::Serve.process(options)