Skip to content

Commit

Permalink
Merge pull request #3658 from objectionary/3657
Browse files Browse the repository at this point in the history
fail by default
  • Loading branch information
yegor256 authored Dec 13, 2024
2 parents 13e7eeb + d895141 commit e477279
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public final class LintMojo extends SafeMojo {
@Parameter(
property = "eo.failOnWarning",
required = true,
defaultValue = "false"
defaultValue = "true"
)
private boolean failOnWarning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ void lintsAgainAfterModification(@Mktmp final Path temp, @RandomProgram final St
.plugins()
.appendItself()
.execution()
.goals("register", "parse", "optimize", "shake", "lint");
.goals("register", "parse", "optimize", "shake", "lint")
.configuration()
.set("failOnWarning", "false");
f.exec("process-classes");
final long before = f.files().file(
"target/eo/6-lint/foo.xmir"
Expand Down

0 comments on commit e477279

Please sign in to comment.