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

#244: removed no longer necessary check for unknown task in createGraph2()

This commit is contained in:
DevCharly 2016-07-02 00:40:05 +02:00
parent 8399171d3f
commit 2cbe3ad560

View file

@ -277,9 +277,6 @@ class TaskManager @Inject constructor(val args: Args,
// Keep only the tasks we need to run. // Keep only the tasks we need to run.
// //
val taskInfos = passedTasks.filter { val taskInfos = passedTasks.filter {
if (!nodeMap.keys().contains(it.taskName)) {
throw KobaltException("Unknown task: $it")
}
it.matches(projectName) it.matches(projectName)
} }