ruby-changes:55649
From: NAKAMURA <ko1@a...>
Date: Fri, 3 May 2019 06:28:33 +0900 (JST)
Subject: [ruby-changes:55649] NAKAMURA Usaku:7d02bab0b0 (trunk): Nil cannot and should not convert to a string
https://git.ruby-lang.org/ruby.git/commit/?id=7d02bab0b0 From 7d02bab0b080bbf5f7dd3f29de57a52677e39a51 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku <usa@r...> Date: Fri, 3 May 2019 06:24:57 +0900 Subject: Nil cannot and should not convert to a string diff --git a/tool/merger.rb b/tool/merger.rb index 56b7b4a..f5ed985 100755 --- a/tool/merger.rb +++ b/tool/merger.rb @@ -200,7 +200,7 @@ class << Merger https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L200 else command = %w[git diff --color] end - IO.popen(command + [file], &:read) + IO.popen(command + [file].compact, &:read) end def commit(file) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/