From 5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 27 Apr 2017 20:17:06 +0200 Subject: Remove `to_s` from some `Pathname`s. --- Library/Homebrew/utils/github.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils') diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 88c5199c2..5ba381529 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -164,7 +164,7 @@ module GitHub args += ["--data", "@#{data_tmpfile.path}"] end - args += ["--dump-header", headers_tmpfile.path.to_s] + args += ["--dump-header", headers_tmpfile.path] output, errors, status = curl_output(url.to_s, *args) output, _, http_code = output.rpartition("\n") -- cgit v1.2.3