Skip to content

Commit

Permalink
feat: missinglinkCheckCached
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangmaihuy committed Dec 19, 2023
1 parent 9bafb3f commit 5abd6a0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ trait MissinglinkCheckModule extends JavaModule {
/** Dependencies that are excluded from analysis */
def missinglinkExcludedDependencies: T[Seq[DependencyFilter]] = T { Seq.empty[DependencyFilter] }

def missinglinkCheckCached = T {
missinglinkCheck()
}

def missinglinkCheck(): Command[Unit] = T.command {
assert(
missinglinkIgnoreSourcePackages().isEmpty || missinglinkTargetSourcePackages().isEmpty,
Expand Down

0 comments on commit 5abd6a0

Please sign in to comment.