mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 09:48:30 -05:00
Setting log_level earlier to silence info level configuration output.
This commit is contained in:
@@ -22,11 +22,11 @@ module Jekyll
|
||||
# Build your jekyll site
|
||||
# Continuously watch if `watch` is set to true in the config.
|
||||
def process(options)
|
||||
Jekyll.logger.log_level = :error if options['quiet']
|
||||
|
||||
options = configuration_from_options(options)
|
||||
site = Jekyll::Site.new(options)
|
||||
|
||||
Jekyll.logger.log_level = :error if options['quiet']
|
||||
|
||||
build(site, options)
|
||||
watch(site, options) if options['watch']
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user