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:
parent
5c87bb3b90
commit
7d02bab0b0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue