Skip to content

Commit 89777aa

Browse files
committed
llvm@13: brew style --fix
For Homebrew/brew#13671
1 parent b663ce5 commit 89777aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/llvm@13.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def install
199199
# 2. requiring an existing Xcode installation
200200
xctoolchain = prefix/"Toolchains/LLVM#{version}.xctoolchain"
201201
xcode_version = MacOS::Xcode.installed? ? MacOS::Xcode.version : Version.new(MacOS::Xcode.latest_version)
202-
compat_version = xcode_version < 8 ? "1" : "2"
202+
compat_version = (xcode_version < 8) ? "1" : "2"
203203

204204
system "/usr/libexec/PlistBuddy", "-c", "Add:CFBundleIdentifier string org.llvm.#{version}", "Info.plist"
205205
system "/usr/libexec/PlistBuddy", "-c", "Add:CompatibilityVersion integer #{compat_version}", "Info.plist"

0 commit comments

Comments
 (0)