Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
refactor: logging and exception strings
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jun 22, 2022
1 parent 61d3b99 commit 04805e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/utils/adb/Adb.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 04805e4

Please sign in to comment.