Skip to content

Commit 7cc69c5

Browse files
committed
Replace allprojects.forEach { } with allprojects { }
This is an attempt to fix issues #699 and #700
1 parent 60b91c8 commit 7cc69c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/dependencies/DependenciesTracker.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal class DependenciesTracker {
3434
// See https://kotlinlang.org/docs/js-project-setup.html#additional-yarn-features-yarnrc
3535
// and https://yarnpkg.com/getting-started/migration#update-your-configuration-to-the-new-settings
3636
// and also https://yarnpkg.com/configuration/yarnrc#npmRegistryServer
37-
rootProject.allprojects.forEach { it.recordBuildscriptAndRegularDependencies(npmRegistries) }
37+
rootProject.allprojects { recordBuildscriptAndRegularDependencies(npmRegistries) }
3838
}
3939

4040
private fun Project.recordBuildscriptAndRegularDependencies(npmRegistries: List<String>) {

0 commit comments

Comments
 (0)