diff options
| author | ilovezfs | 2017-06-01 04:23:53 -0700 |
|---|---|---|
| committer | GitHub | 2017-06-01 04:23:53 -0700 |
| commit | 8b26deef20697c3d68fc42987f2513cb1e953c77 (patch) | |
| tree | 14bf38f815db5fc30c3d1e26dfb0a18d4e536540 /Library/Homebrew/dev-cmd | |
| parent | 63b2eb9ffd1a0131194e99c65e3f0e1e1980ed9b (diff) | |
| parent | 197392b56d38a4f5225886f1a10e2ccaa51faa98 (diff) | |
| download | brew-8b26deef20697c3d68fc42987f2513cb1e953c77.tar.bz2 | |
Merge pull request #2715 from Homebrew/revert-2698-operator-style
Revert "Fix operator spacing."
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/dev-cmd/bottle.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/dev-cmd/edit.rb | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 7cad704e4..4ceff0f3d 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -868,7 +868,7 @@ class FormulaAuditor def audit_lines text.without_patch.split("\n").each_with_index do |line, lineno| - line_problems(line, lineno + 1) + line_problems(line, lineno+1) end end diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index d8aefc4c0..e301cc423 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -248,7 +248,7 @@ module Homebrew mv "#{relocatable_tar_path}.gz", bottle_path end - if bottle_path.size > 1 * 1024 * 1024 + if bottle_path.size > 1*1024*1024 ohai "Detecting if #{filename} is relocatable..." end diff --git a/Library/Homebrew/dev-cmd/edit.rb b/Library/Homebrew/dev-cmd/edit.rb index b3a319088..a8612fc63 100644 --- a/Library/Homebrew/dev-cmd/edit.rb +++ b/Library/Homebrew/dev-cmd/edit.rb @@ -24,9 +24,9 @@ module Homebrew if ["mate", "subl"].include?(editor) # If the user is using TextMate or Sublime Text, # give a nice project view instead. - exec_editor HOMEBREW_REPOSITORY/"bin/brew", - HOMEBREW_REPOSITORY/"README.md", - HOMEBREW_REPOSITORY/".gitignore", + exec_editor HOMEBREW_REPOSITORY+"bin/brew", + HOMEBREW_REPOSITORY+"README.md", + HOMEBREW_REPOSITORY+".gitignore", *library_folders else exec_editor HOMEBREW_REPOSITORY |
