Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1159 from github/autodeploy-chomp-slash
Browse files Browse the repository at this point in the history
auto_deploy: remove / from end of github_api_url.
  • Loading branch information
MikeMcQuaid committed May 10, 2016
2 parents d2778cd + 292b25b commit fbc0db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/auto_deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def api_url
if config_value("github_api_url").empty?
"https://api.github.com"
else
config_value("github_api_url")
config_value("github_api_url").chomp("/")
end
end

Expand Down

0 comments on commit fbc0db2

Please sign in to comment.