Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mfirry committed Nov 22, 2023
1 parent a484670 commit e983012
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ object Client {
res.text().toFuture.map(extractDefaultBranch)
} else { Future.successful("master") }
}
.map { res =>
val resJson = js.JSON.parse(res)
val branch = resJson.asInstanceOf[Repo].default_branch
.map { branch =>
fixImages(branch, organization, repository)
}
}
Expand Down

0 comments on commit e983012

Please sign in to comment.