Fix kotlin spotless check

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2023-11-02 14:45:01 +01:00 committed by Alper Öztürk
parent 3010f78f79
commit a2d002a2fc
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ object AuthenticatorUrlUtils {
private fun trimUrlWebdav(url: String): String {
return if (url.lowercase().endsWith(WEBDAV_PATH_4_0_AND_LATER)) {
url.substring(0, url.length - WEBDAV_PATH_4_0_AND_LATER.length)
} else url
} else {
url
}
}
fun stripIndexPhpOrAppsFiles(url: String): String {