From 985351f26d882ae82c3aee0dab3064f192f167c8 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 7 Apr 2015 17:14:18 +0100 Subject: pathname: prune unnecessary whitespace Closes #38413. Signed-off-by: Mike McQuaid --- Library/Homebrew/extend/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3