Skip to content

Commit

Permalink
feat(#2217): simplify checking prerequisites for RegisterMojo
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Jul 7, 2023
1 parent e42635e commit e1c5bfb
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,6 @@ private void verifyPrerequisite() {
throw new IllegalArgumentException(
String.format("sourcesDir is null. Please specify a valid sourcesDir for %s", this)
);
} else if (!Files.exists(this.sourcesDir.toPath())) {
throw new IllegalArgumentException(
String.format(
"sourcesDir %s does not exist. Please specify a valid sourceDir for %s",
this.sourcesDir, this
)
);
}
}

Expand Down

0 comments on commit e1c5bfb

Please sign in to comment.