Return an error when build history for dir does not exist

This commit is contained in:
Ivan Gavrilovic
2018-06-05 18:29:14 +01:00
committed by Alexey Tsvetkov
parent 6bb54fd9a3
commit 728508e0ae
@@ -80,7 +80,7 @@ open class ModulesApiHistoryJvm(protected val modulesInfo: IncrementalModuleInfo
} }
} }
else -> else ->
setOf() return Either.Error("Unable to get build history for $file")
} }
} }
return Either.Success(history) return Either.Success(history)