aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-12 16:50:41 +0100
committerGitHub2017-02-12 16:50:41 +0100
commitc660e01a674b69d0af6c3f860cc8486bf0a8af82 (patch)
tree78353f4e7cfe59f5da266a951939c868db11c170 /Library/Homebrew/extend
parent76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff)
parent9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (diff)
downloadbrew-c660e01a674b69d0af6c3f860cc8486bf0a8af82.tar.bz2
Merge pull request #1993 from alyssais/rubocop_method_trailing_comma
rubocop: trailing comma in multiline method calls
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb2
-rw-r--r--Library/Homebrew/extend/os/mac/hardware/cpu.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 39ddb6681..1a5f420f6 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -277,7 +277,7 @@ module Superenv
return unless Hardware::CPU.is_32_bit?
self["HOMEBREW_OPTFLAGS"] = self["HOMEBREW_OPTFLAGS"].sub(
/-march=\S*/,
- "-Xarch_#{Hardware::CPU.arch_32_bit} \\0"
+ "-Xarch_#{Hardware::CPU.arch_32_bit} \\0",
)
end
diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
index 0695d4a5b..f759895c7 100644
--- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb
+++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
@@ -111,7 +111,7 @@ module Hardware
@features ||= sysctl_n(
"machdep.cpu.features",
"machdep.cpu.extfeatures",
- "machdep.cpu.leaf7_features"
+ "machdep.cpu.leaf7_features",
).split(" ").map { |s| s.downcase.to_sym }
end