Skip to content

Commit

Permalink
fix(core.transform-kit): Transform启动前清空debug用的临时目录
Browse files Browse the repository at this point in the history
  • Loading branch information
shifujun committed Sep 15, 2021
1 parent 7aa65f7 commit d9fd8cd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ abstract class AbstractTransform(

private fun cleanDebugClassFileDir() {
val transformTempDir = File(project.buildDir, "transform-temp")
transformTempDir.deleteRecursively()
transformTempDir.mkdirs()
mDebugClassJar = File.createTempFile("transform-temp", ".jar", transformTempDir)
mDebugClassJarZOS = ZipOutputStream(FileOutputStream(mDebugClassJar))
Expand Down

0 comments on commit d9fd8cd

Please sign in to comment.