diff options
author | NAKAMURA Usaku <[email protected]> | 2019-05-03 06:24:57 +0900 |
---|---|---|
committer | NAKAMURA Usaku <[email protected]> | 2019-05-03 06:24:57 +0900 |
commit | 7d02bab0b080bbf5f7dd3f29de57a52677e39a51 (patch) | |
tree | d7991aa8cab82e250f424024d750e70bff9a8428 | |
parent | 5c87bb3b90a6d77089314ed0e62e31654621efa9 (diff) |
Nil cannot and should not convert to a string
-rwxr-xr-x | tool/merger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/merger.rb b/tool/merger.rb index 56b7b4a068..f5ed9851c4 100755 --- a/tool/merger.rb +++ b/tool/merger.rb @@ -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) |