Skip to content

Commit

Permalink
Make s in message optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Nov 14, 2022
1 parent 9023501 commit 6fe45f7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -470,7 +470,7 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
}
}
if (!summary.getFailed().isEmpty()) {
throw new IllegalStateException(summary.getFailed() + " type transformations have failed");
throw new IllegalStateException(summary.getFailed() + " type transformation(s) have failed");
} else if (isWarnOnEmptyTypeSet() && summary.getTransformed().isEmpty()) {
getLogger().warn("No types were transformed during plugin execution");
} else {
Expand Down

0 comments on commit 6fe45f7

Please sign in to comment.