Skip to content

Commit

Permalink
[Chore]: Fix unnecessary null assertion in WalletCoreLibLoader.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Nov 5, 2024
1 parent db7c535 commit 83b358f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ object WalletCoreLibLoader {
}

private fun getLibResourcePath(): String {
val osNameOriginal = System.getProperty("os.name").lowercase()
val osNameOriginal = System.getProperty("os.name")!!.lowercase()
val osName = osNameOriginal.lowercase()
val archOriginal = System.getProperty("os.arch").lowercase()
val archOriginal = System.getProperty("os.arch")!!.lowercase()
val arch = archOriginal.lowercase()

return when {
Expand Down

0 comments on commit 83b358f

Please sign in to comment.