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

Fix main result.

This commit is contained in:
Cedric Beust 2016-06-24 01:59:25 -08:00
parent e9cbe04317
commit 5ac94386fc

View file

@ -207,7 +207,7 @@ private class Main @Inject constructor(
//
val runTargetResult = taskManager.runTargets(args.targets, allProjects)
if (result == 0) {
result = runTargetResult.exitCode
result = if (runTargetResult.taskResult.success) 0 else 1
}
// Shutdown all plug-ins