Commit 130a7376 authored by Peter van 't Hof's avatar Peter van 't Hof

Simplify output file

parent dd80f227
......@@ -129,7 +129,7 @@ object WriteDependencies extends Logging with Configurable {
mainJobsFile.foreach { file =>
val mainJobs = jobs.filter(_._2("main_job") == true).map {
case (name, job) =>
name -> (job + ("depends_on_jobs" -> getMainDependencies(name, jobs)))
name -> getMainDependencies(name, jobs)
}
val writer = new PrintWriter(file)
......@@ -158,6 +158,6 @@ object WriteDependencies extends Logging with Configurable {
case true => List(dep)
case false => getMainDependencies(dep, jobsMap)
}
}
}.distinct
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment