Rubocop: Style/Semicolon
- Do not use semicolons to terminate expressions
This commit is contained in:
parent
31dd0ebed5
commit
44d2995277
|
@ -79,7 +79,8 @@ module Jekyll
|
|||
return [] unless exists?
|
||||
@entries ||=
|
||||
Utils.safe_glob(collection_dir, ["**", "*.*"]).map do |entry|
|
||||
entry["#{collection_dir}/"] = ''; entry
|
||||
entry["#{collection_dir}/"] = ''
|
||||
entry
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -168,7 +168,8 @@ module Jekyll
|
|||
raise RuntimeError, "--ssl-cert or --ssl-key missing."
|
||||
end
|
||||
|
||||
require "openssl"; require "webrick/https"
|
||||
require "openssl"
|
||||
require "webrick/https"
|
||||
source_key = Jekyll.sanitized_path(opts[:JekyllOptions]["source"], opts[:JekyllOptions]["ssl_key" ])
|
||||
source_certificate = Jekyll.sanitized_path(opts[:JekyllOptions]["source"], opts[:JekyllOptions]["ssl_cert"])
|
||||
opts[:SSLCertificate] = OpenSSL::X509::Certificate.new(File.read(source_certificate))
|
||||
|
|
|
@ -25,7 +25,7 @@ module Jekyll
|
|||
@file = matched['variable'].strip
|
||||
@params = matched['params'].strip
|
||||
else
|
||||
@file, @params = markup.strip.split(' ', 2);
|
||||
@file, @params = markup.strip.split(' ', 2)
|
||||
end
|
||||
validate_params if @params
|
||||
@tag_name = tag_name
|
||||
|
|
Loading…
Reference in New Issue