We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f2538 commit 1da8ae9Copy full SHA for 1da8ae9
src/main/kotlin/app/revanced/cli/command/PatchCommand.kt
@@ -255,7 +255,7 @@ internal object PatchCommand : Runnable {
255
AdbInstaller(deviceSerial)
256
}
257
} catch (e: DeviceNotFoundException) {
258
- if (deviceSerial!!.isNotEmpty()) {
+ if (deviceSerial?.isNotEmpty() == true) {
259
logger.severe(
260
"Device with serial $deviceSerial not found to install to. " +
261
"Ensure the device is connected and the serial is correct when using the --install option.",
0 commit comments