Skip to content

Commit

Permalink
fix: delete outputFile after deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX authored May 22, 2022
1 parent fb1cd41 commit 329f8a3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/kotlin/app/revanced/cli/MainCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ internal object MainCommand : Runnable {

Patcher.start(patcher)

if (clean) {
File(cacheDirectory).deleteRecursively()
outputFile.delete()
}
if (clean) File(cacheDirectory).deleteRecursively()

adb?.deploy()

if (clean) outputFile.delete()
}
}
}

0 comments on commit 329f8a3

Please sign in to comment.