Return an error when build history for dir does not exist
This commit is contained in:
committed by
Alexey Tsvetkov
parent
6bb54fd9a3
commit
728508e0ae
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user