diff options
| author | Dominyk Tiller | 2015-04-07 17:14:18 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-07 18:32:29 +0100 | 
| commit | 985351f26d882ae82c3aee0dab3064f192f167c8 (patch) | |
| tree | 66aeac91a4d7eae2caed9249bb50a25adde69577 | |
| parent | a81082447a8c1456840aaa2c98cb2bc6aa27f23f (diff) | |
| download | homebrew-985351f26d882ae82c3aee0dab3064f192f167c8.tar.bz2 | |
pathname: prune unnecessary whitespace
Closes #38413.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -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 | 
