refactor: logging and exception strings

This commit is contained in:
oSumAtrIX 2022-06-22 16:48:02 +02:00
parent 61d3b99313
commit 04805e45fe
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -20,7 +20,7 @@ internal class Adb(
?: throw IllegalArgumentException("No such device with name $deviceName")
if (!modeInstall && device.run("su -h", false) != 0)
throw IllegalArgumentException("Root required on $deviceName. Deploying failed.")
throw IllegalArgumentException("Root required on $deviceName. Deploying failed")
}
private fun String.replacePlaceholder(with: String? = null): String {