Fix searching of executable file (#4368)
This commit is contained in:
@@ -145,7 +145,7 @@ fun getCompileOnlyBenchmarksOpts(project: Project, defaultCompilerOpts: List<Str
|
|||||||
|
|
||||||
// Find file with set name in directory.
|
// Find file with set name in directory.
|
||||||
fun findFile(fileName: String, directory: String): String? =
|
fun findFile(fileName: String, directory: String): String? =
|
||||||
File(directory).walkTopDown().filter { !it.name.endsWith(".dSYM") }
|
File(directory).walkTopDown().filter { !it.absolutePath.contains(".dSYM") }
|
||||||
.find { it.name == fileName }?.getAbsolutePath()
|
.find { it.name == fileName }?.getAbsolutePath()
|
||||||
|
|
||||||
fun uploadFileToArtifactory(url: String, project: String, artifactoryFilePath: String,
|
fun uploadFileToArtifactory(url: String, project: String, artifactoryFilePath: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user