Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin committed Feb 28, 2024
1 parent d3a853d commit 30ea4ed
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,4 @@ class CliArgs {
FailureSeverity.Info -> FailOnSeverity(minSeverity.toSeverity())
}
}

companion object {
/**
* When embedding the cli inside a tool, this closure style configuration
* of the arguments should be used.
*/
operator fun invoke(init: CliArgs.() -> Unit): CliArgs = CliArgs().apply(init)
}
}

0 comments on commit 30ea4ed

Please sign in to comment.