aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-01 08:52:49 +0200
committerGitHub2017-06-01 08:52:49 +0200
commit63b2eb9ffd1a0131194e99c65e3f0e1e1980ed9b (patch)
tree918fe00d317e9a87e1b22bd98f194341056d3aa5 /Library/Homebrew/dev-cmd
parentf9e8d8430154e3480d5255e35b802a46f9168b5a (diff)
parentd34ba7395bbbc49f933cb244323cd20e180b0609 (diff)
downloadbrew-63b2eb9ffd1a0131194e99c65e3f0e1e1980ed9b.tar.bz2
Merge pull request #2698 from reitermarkus/operator-style
Fix operator spacing.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
-rw-r--r--Library/Homebrew/dev-cmd/bottle.rb2
-rw-r--r--Library/Homebrew/dev-cmd/edit.rb6
3 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 4ceff0f3d..7cad704e4 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 e301cc423..d8aefc4c0 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 a8612fc63..b3a319088 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