From 7d02bab0b080bbf5f7dd3f29de57a52677e39a51 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku Date: Fri, 3 May 2019 06:24:57 +0900 Subject: [PATCH] Nil cannot and should not convert to a string --- tool/merger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)