Skip to content

Commit

Permalink
Visibility and Type fixes in retrieve changed files changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Jul 20, 2024
1 parent 46b779a commit e8341cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ fun main(args: Array<String>) {
val bucketNameOutputFile = File(args[2])
val fileTestTargetsListOutputFile = File(args[3])

private val testFileExemptionTextProto = "scripts/assets/test_file_exemptions"
private val testFileExemptionList by lazy {
val testFileExemptionTextProto = "scripts/assets/test_file_exemptions"
val testFileExemptionList by lazy {
loadTestFileExemptionsProto(testFileExemptionTextProto)
.testFileExemptionList
.associateBy { it.exemptedFilePath }
Expand Down Expand Up @@ -90,7 +90,7 @@ fun main(args: Array<String>) {
}
}

private fun findTestFile(rootDirectory: String, filePath: String): List<String> {
private fun findTestFile(rootDirectory: File, filePath: String): List<String> {
val possibleTestFilePaths = when {
filePath.startsWith("scripts/") -> {
listOf(filePath.replace("/java/", "/javatests/").replace(".kt", "Test.kt"))
Expand Down

0 comments on commit e8341cc

Please sign in to comment.