Skip to content

Commit

Permalink
adding lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EdbertChan committed Apr 23, 2024
1 parent feacc26 commit 985d3bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/rules.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/cli/AndroidLintRunner.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.rules.android.lint.cli

import java.lang.reflect.Field
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.TimeUnit
import kotlin.io.path.absolutePathString
import kotlin.io.path.exists
import kotlin.io.path.extension
import kotlin.io.path.isRegularFile
Expand Down Expand Up @@ -133,7 +133,7 @@ internal class AndroidLintRunner {

if (actionArgs.androidHome?.isNotEmpty() != null) {
var androidHomePath =
Paths.get(System.getenv("PWD"), actionArgs.androidHome).absolutePathString();
Paths.get(System.getenv("PWD"), actionArgs.androidHome).absolutePathString()
args.add("--sdk-home")
args.add(androidHomePath)
}
Expand Down

0 comments on commit 985d3bd

Please sign in to comment.