FatFrameworkTask: Fix dSYM extension check.
This commit is contained in:
committed by
Space
parent
0ee4e386be
commit
b0c34e217b
+1
-1
@@ -24,7 +24,7 @@ import java.io.File
|
|||||||
|
|
||||||
class FrameworkDsymLayout(val rootDir: File) {
|
class FrameworkDsymLayout(val rootDir: File) {
|
||||||
init {
|
init {
|
||||||
require(rootDir.extension == "framework.dSYM")
|
require(rootDir.name.endsWith(".framework.dSYM"))
|
||||||
}
|
}
|
||||||
|
|
||||||
private val frameworkName = rootDir.name.removeSuffix(".framework.dSYM")
|
private val frameworkName = rootDir.name.removeSuffix(".framework.dSYM")
|
||||||
|
|||||||
Reference in New Issue
Block a user