mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Rename.
This commit is contained in:
parent
0057611869
commit
6b1ddc2333
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ class BuildScriptUtil @Inject constructor(val plugins: Plugins, val files: KFile
|
|||
stream?.close()
|
||||
}
|
||||
|
||||
validateProjects(projects)
|
||||
validateProjectNames(projects)
|
||||
|
||||
//
|
||||
// Now that the build file has run, fetch all the project contributors, grab the projects from them and sort
|
||||
|
@ -134,7 +134,7 @@ class BuildScriptUtil @Inject constructor(val plugins: Plugins, val files: KFile
|
|||
/**
|
||||
* Make sure all the projects have a unique name.
|
||||
*/
|
||||
private fun validateProjects(projects: List<Project>) {
|
||||
private fun validateProjectNames(projects: List<Project>) {
|
||||
val seen = hashSetOf<String>()
|
||||
projects.forEach {
|
||||
if (seen.contains(it.name)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue