lib/cp8_cli/ci.rb in cp8_cli-6.0.1 vs lib/cp8_cli/ci.rb in cp8_cli-8.0.0
- old
+ new
@@ -12,10 +12,10 @@
private
attr_reader :branch_name, :repo
def url
- "https://circleci.com/gh/#{repo.user}/#{repo.name}/tree/#{escape branch_name}"
+ "https://circleci.com/gh/#{repo.shorthand}/tree/#{escape branch_name}"
end
def escape(text)
CGI.escape(text)
end