Skip to content

Commit

Permalink
Fix Repo.{show, toPath}
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Oct 18, 2021
1 parent c6d7605 commit 2cc0c9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ final case class Repo(
branch: Option[Branch] = None
) {
def show: String =
owner + "/" + repo + branch.fold("")(":" + _)
owner + "/" + repo + branch.fold("")(":" + _.name)

def toPath: String =
owner + "/" + repo + branch.fold("")("/" + _)
owner + "/" + repo + branch.fold("")("/" + _.name)
}

object Repo {
Expand Down

0 comments on commit 2cc0c9b

Please sign in to comment.