Skip to content

Commit dd3abc6

Browse files
committed
Ignore errors in memoizedGetDependencies
Dependencies are required to find URLs. If getting dependecies fails, it should not prevent Scala Steward from creating the PR. This is another source of errors which will be eliminated with #851.
1 parent 8d2a839 commit dd3abc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/core/src/main/scala/org/scalasteward/core/nurture/NurtureAlg.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ final class NurtureAlg[F[_]](
7878
grouped = Update.group(filtered)
7979
_ <- logger.info(util.logger.showUpdates(grouped))
8080
baseSha1 <- gitAlg.latestSha1(repo, baseBranch)
81-
memoizedGetDependencies <- Async.memoize(sbtAlg.getDependencies(repo))
81+
memoizedGetDependencies <- Async.memoize {
82+
sbtAlg.getDependencies(repo).handleError(_ => List.empty)
83+
}
8284
_ <- grouped.traverse_ { update =>
8385
val data =
8486
UpdateData(

0 commit comments

Comments
 (0)