warn on use of deprecated "server_port" option
This commit is contained in:
parent
470a187395
commit
c44d4248ac
|
@ -164,6 +164,12 @@ module Jekyll
|
||||||
config.delete('server')
|
config.delete('server')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if config.has_key? 'server_port'
|
||||||
|
Jekyll::Logger.warn "Deprecation:", "The 'server_port' configuration option" +
|
||||||
|
" has been renamed to 'port'. Update your config file" +
|
||||||
|
" accordingly."
|
||||||
|
end
|
||||||
|
|
||||||
config
|
config
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue