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:
Parker Moore
2016-07-25 12:46:43 -07:00
parent 0e0e9f2081
commit 4b698747dc
6 changed files with 6 additions and 6 deletions

View File

@@ -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
#