Permalink
Browse files

Additional NPE protection

  • Loading branch information...
mcculls committed Nov 6, 2014
1 parent 0ebd66d commit 3fe3f8db91da18f7ded73e09d19525bc1d83631b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/tonicsystems/jarjar/JarJarMojo.java
@@ -126,7 +126,7 @@ public void execute()
{
// VALIDATE INPUT / OUTPUT
- if ( null == input && null != project.getArtifact() )
+ if ( null == input && null != project.getArtifact() && null != project.getArtifact().getFile() )
{
input = project.getArtifact().getFile().getAbsolutePath();
}

0 comments on commit 3fe3f8d

Please sign in to comment.