Skip to content

Commit

Permalink
Use PENDING.bazel to mark pending targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Duhemm committed Jan 7, 2021
1 parent 11b0238 commit eba45c5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ case class LintCommand(
BazelUtil
.packageRoot(app, label)
.map { path =>
val pendingBazelFile = path.resolve("PENDING.bazel")
val pendingFile = path.resolve("PENDING")
if (Files.isRegularFile(pendingFile)) true
if (Files.isRegularFile(pendingBazelFile) || Files.isRegularFile(pendingFile)) true
else if (lintMarkPending) {
Files.createFile(pendingFile)
Files.createFile(pendingBazelFile)
true
} else false
}
Expand Down

0 comments on commit eba45c5

Please sign in to comment.