diff options
| author | Alyssa Ross | 2017-02-12 15:06:54 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2017-02-12 15:11:38 +0000 |
| commit | 9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (patch) | |
| tree | 78353f4e7cfe59f5da266a951939c868db11c170 /Library/Homebrew/extend | |
| parent | 76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff) | |
| download | brew-9e97eadccbd99df1c6ffe489ab316d7ebde7fe86.tar.bz2 | |
rubocop: trailing comma in multiline method calls
Discussed in
https://github.com/Homebrew/brew/pull/1987/files#r100693581.
This was originally ommitted because it wasn't compatible with Ruby 1.8.
(See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/hardware/cpu.rb | 2 |
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 |
