it always points to the innermost closure

pull/42/head
Zlatin Balevsky 2020-03-10 12:55:09 +00:00
parent e70bec3a51
commit bb7385688c
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ class FeedClient {
}
private void updateAnyFeeds() {
feedManager.getFeedsToUpdate().each {
feedFetcher.execute({updateFeed(it)} as Runnable)
feedManager.getFeedsToUpdate().each { feed ->
feedFetcher.execute({updateFeed(feed)} as Runnable)
}
}