diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-03-23 23:58:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-03-23 23:58:40 +0900 |
commit | 5a77397489268f27a5d803441d723736a12f59fc (patch) | |
tree | 247f0779c461171f7fdaf565cf4ab3575f168cc3 /tool/rbinstall.rb | |
parent | c505bb0ca0fd61c7ae931d26451f11122a2644e9 (diff) |
Ignore method chains succeeding `git ls-files`
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 8e64f80812..2faaece8c9 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -717,7 +717,7 @@ def load_gemspec(file, base = nil) "[" + files.join(", ") + "]" end code.gsub!(/IO\.popen\(.*git.*?\)/) do - "[" + files.join(", ") + "]; false && itself" + "[" + files.join(", ") + "] || itself" end spec = eval(code, binding, file) |