Skip to content
Snippets Groups Projects
Commit ec2a3f97 authored by Mike McQuaid's avatar Mike McQuaid Committed by Xu Cheng
Browse files

utils: use string arg to IO.popen.

Closes Homebrew/homebrew#49882.
parent bfb44d9e
No related branches found
No related tags found
No related merge requests found
......@@ -511,7 +511,7 @@ module GitHub
if ENV["HOMEBREW_GITHUB_API_TOKEN"]
ENV["HOMEBREW_GITHUB_API_TOKEN"]
else
github_credentials = IO.popen(["git", "credential-osxkeychain", "get"], "w+") do |io|
github_credentials = IO.popen("git credential-osxkeychain get", "w+") do |io|
io.puts "protocol=https\nhost=github.com"
io.close_write
io.read
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment