1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Formatting.

This commit is contained in:
Cedric Beust 2016-07-28 23:30:54 -08:00
parent 5a7a6d8277
commit 18842097ff

View file

@ -19,8 +19,7 @@ class ProjectFinder @Inject constructor(val buildFileCompilerFactory: BuildFileC
val findProjectResult = buildFileCompilerFactory.create(listOf(buildFile), pluginInfo) val findProjectResult = buildFileCompilerFactory.create(listOf(buildFile), pluginInfo)
.compileBuildFiles(args) .compileBuildFiles(args)
if (! findProjectResult.taskResult.success) { if (! findProjectResult.taskResult.success) {
throw KobaltException("Couldn't compile build file: " throw KobaltException("Couldn't compile build file: " + findProjectResult.taskResult.errorMessage)
+ findProjectResult.taskResult.errorMessage)
} }
val allProjects = findProjectResult.projects val allProjects = findProjectResult.projects