Skip to content

Commit

Permalink
#3657: fail by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 12, 2024
1 parent b17fad5 commit 5b67df2
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 5b67df2

Please sign in to comment.