diff options
| author | Dominyk Tiller | 2015-04-07 17:14:18 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-07 18:32:29 +0100 |
| commit | 2fa87369b304e2a0dc2341468b01514ba0039fc1 (patch) | |
| tree | 4bf010cf3f07ddbe43fd7ca6408a78a04d7223c0 /Library/Homebrew/extend/pathname.rb | |
| parent | 45c9e84c1579e995911e4006043d19246e7e1285 (diff) | |
| download | brew-2fa87369b304e2a0dc2341468b01514ba0039fc1.tar.bz2 | |
pathname: prune unnecessary whitespace
Closes Homebrew/homebrew#38413.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 49adae2d1..1e80e3e84 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -402,7 +402,7 @@ class Pathname out = "" n = Utils.popen_read("find", expand_path.to_s, "-type", "f", "!", "-name", ".DS_Store").split("\n").size out << "#{n} files, " if n > 1 - out << Utils.popen_read("/usr/bin/du", "-hs", expand_path.to_s).split("\t")[0] + out << Utils.popen_read("/usr/bin/du", "-hs", expand_path.to_s).split("\t")[0].strip out end |
