From 04805e45fe5ee818b59dfcc6c36849d89bde7725 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 22 Jun 2022 16:48:02 +0200 Subject: [PATCH] refactor: logging and exception strings --- src/main/kotlin/app/revanced/utils/adb/Adb.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/utils/adb/Adb.kt b/src/main/kotlin/app/revanced/utils/adb/Adb.kt index 9533994..723c594 100644 --- a/src/main/kotlin/app/revanced/utils/adb/Adb.kt +++ b/src/main/kotlin/app/revanced/utils/adb/Adb.kt @@ -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 {