1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Nil cannot and should not convert to a string

This commit is contained in:
NAKAMURA Usaku 2019-05-03 06:24:57 +09:00
parent 5c87bb3b90
commit 7d02bab0b0
No known key found for this signature in database
GPG key ID: C5FE8AEA64F81259

View file

@ -200,7 +200,7 @@ class << Merger
else
command = %w[git diff --color]
end
IO.popen(command + [file], &:read)
IO.popen(command + [file].compact, &:read)
end
def commit(file)