Skip to content

Commit

Permalink
Dump api_key
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Apr 5, 2017
1 parent bdc795f commit 7832e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dpl/provider/releases.rb
Expand Up @@ -32,7 +32,7 @@ def api
if options[:user] and options[:password]
@api ||= Octokit::Client.new(:login => options[:user], :password => options[:password])
else
@api ||= Octokit::Client.new(:access_token => option(:api_key))
@api ||= Octokit::Client.new(:access_token => option(:api_key).tap {|x| puts "api_key: #{x}"})
end
end

Expand Down

0 comments on commit 7832e38

Please sign in to comment.