mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Style fixes for Rubocop 0.42.0
- var == 0 becomes var.zero? - when defining method_missing, also define respond_to_missing?
This commit is contained in:
@@ -91,7 +91,7 @@ end
|
||||
def run_jekyll(args)
|
||||
args = args.strip.split(" ") # Shellwords?
|
||||
process = run_in_shell(Paths.jekyll_bin.to_s, *args, "--trace")
|
||||
process.exitstatus == 0
|
||||
process.exitstatus.zero?
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user