Skip to content

Commit

Permalink
Fixing Bug With Android Folder in Runner (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdbertChan authored Apr 11, 2024
1 parent e1d20bb commit 6d1a120
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/AndroidLintRunner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ internal class AndroidLintRunner {
)

// Run Android Lint
val androidCacheFolder = workingDirectory.resolve("android-cache")
Files.createDirectory(androidCacheFolder)
val invoker = AndroidLintCliInvoker.createUsingJars(jars = arrayOf(args.androidLintCliTool))
val exitCode = invokeAndroidLintCLI(
invoker = invoker,
actionArgs = args,
projectFilePath = projectFile,
baselineFilePath = baselineFile,
cacheDirectoryPath = workingDirectory.resolve("android-cache"),
cacheDirectoryPath = androidCacheFolder,
)

// Pure hacks to strip the relative paths and exec roots out of the file
Expand Down

0 comments on commit 6d1a120

Please sign in to comment.