aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils/github.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb
index 7fd484211..36f6257f7 100644
--- a/Library/Homebrew/utils/github.rb
+++ b/Library/Homebrew/utils/github.rb
@@ -140,6 +140,7 @@ module GitHub
begin
if data
data_tmpfile.write data
+ data_tmpfile.close
args += ["--data", "@#{data_tmpfile.path}"]
end