qwt: fix RuboCop Style/ConditionalAssignment.

master
Mike McQuaid 2020-03-13 20:59:20 +00:00
parent 7cc2f92e76
commit d8d32c0797
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 3 additions and 3 deletions

View File

@ -27,10 +27,10 @@ class Qwt < Formula
end
args = ["-config", "release", "-spec"]
if ENV.compiler == :clang
args << "macx-clang"
args << if ENV.compiler == :clang
"macx-clang"
else
args << "macx-g++"
"macx-g++"
end
system "qmake", *args