util/rubocop -A --only Style/TernaryParentheses

This commit is contained in:
Hiroshi SHIBATA 2023-03-16 13:52:28 +09:00
parent 31c572f4fa
commit f8fe151ca9
6 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ class Gem::Ext::Builder
make_program = Shellwords.split(make_program_name)
# The installation of the bundled gems is failed when DESTDIR is empty in mswin platform.
destdir = (/\bnmake/i !~ make_program_name || ENV["DESTDIR"] && ENV["DESTDIR"] != "") ? "DESTDIR=%s" % ENV["DESTDIR"] : ""
destdir = /\bnmake/i !~ make_program_name || ENV["DESTDIR"] && ENV["DESTDIR"] != "" ? "DESTDIR=%s" % ENV["DESTDIR"] : ""
env = [destdir]