Skip to content

Commit 57dd3f6

Browse files
committed
added null check
1 parent b380500 commit 57dd3f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dsf-maven/dsf-maven-plugin/src/main/java/dev/dsf/maven/dev/GenerateDevSetupCertFilesMojo.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ public void execute() throws MojoExecutionException, MojoFailureException
5959
getLog().debug("caChain: " + caChain);
6060
getLog().debug("templates: " + templates);
6161

62+
if (privateKeyPassword == null)
63+
throw new MojoExecutionException("privateKeyPassword null");
64+
6265
try
6366
{
6467
Files.createDirectories(certDir.toPath());

0 commit comments

Comments
 (0)