Skip to content

Commit

Permalink
Copy SSH URL instead of HTML URL
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarjs committed Oct 30, 2020
1 parent 671839c commit f708c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github/repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def from_storage_string(storage_string)
end

def from_api_response(api_response)
new(api_response[:full_name], api_response[:html_url])

This comment has been minimized.

Copy link
@sparrovv

sparrovv Oct 31, 2020

I just installed the workflow and this seems to be breaking the gh repo open.

Why was it changed to ssh_url?

browser can't recognize urls like this one:

[email protected]:sparrovv/whenever.git

image

new(api_response[:full_name], api_response[:ssh_url])
end
end
end
Expand Down

0 comments on commit f708c45

Please sign in to comment.