mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-18 17:40:22 +02:00
Fix suspicious indentation in Migrations.kt (#1956)
This commit is contained in:
parent
d65fc88a14
commit
58342ca426
|
|
@ -48,11 +48,13 @@ private fun migrateToGitUrlBasedConfig(sharedPrefs: SharedPreferences, gitSettin
|
|||
"$userPart$hostnamePart:$serverPath"
|
||||
} else {
|
||||
// Only absolute paths are supported with custom ports.
|
||||
if (!serverPath.startsWith('/')) null
|
||||
else
|
||||
// We have to specify the ssh scheme as this is the only way to pass a custom
|
||||
// port.
|
||||
"ssh://$userPart$hostnamePart$portPart$serverPath"
|
||||
if (!serverPath.startsWith('/')) {
|
||||
null
|
||||
} else {
|
||||
// We have to specify the ssh scheme as this is the only way to pass a custom
|
||||
// port.
|
||||
"ssh://$userPart$hostnamePart$portPart$serverPath"
|
||||
}
|
||||
}
|
||||
}
|
||||
Protocol.Https -> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue