mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-24 11:05:49 +01:00
refactor: logging and exception strings
This commit is contained in:
parent
61d3b99313
commit
04805e45fe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user