From d8218761b2a2874f6954f2987f8911ba219af1c2 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 22 Oct 2015 07:36:31 -0700 Subject: [PATCH] Rename --- .../beust/kobalt/internal/remote/GetDependenciesCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/internal/remote/GetDependenciesCommand.kt b/src/main/kotlin/com/beust/kobalt/internal/remote/GetDependenciesCommand.kt index ecc0e659..3235f8a1 100644 --- a/src/main/kotlin/com/beust/kobalt/internal/remote/GetDependenciesCommand.kt +++ b/src/main/kotlin/com/beust/kobalt/internal/remote/GetDependenciesCommand.kt @@ -29,13 +29,13 @@ class GetDependenciesCommand @Inject constructor(val executors: KobaltExecutors, val scriptCompiler = buildFileCompilerFactory.create(listOf(buildFile)) scriptCompiler.observable.subscribe { buildScriptInfo -> if (buildScriptInfo.projects.size() > 0) { - sender.sendData(toJson(buildScriptInfo)) + sender.sendData(toData(buildScriptInfo)) } } scriptCompiler.compileBuildFiles(args) } - private fun toJson(info: BuildFileCompiler.BuildScriptInfo) : CommandData { + private fun toData(info: BuildFileCompiler.BuildScriptInfo) : CommandData { val executor = executors.miscExecutor val projects = arrayListOf()