Skip to content

Commit

Permalink
Merge pull request #223 from honza-kasik/wfwip-451
Browse files Browse the repository at this point in the history
Fix for WFWIP-451, NPE when using packaging script with null script path
  • Loading branch information
jamezp authored Apr 4, 2022
2 parents ad89d0e + 8e2680c commit 3b1a91b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ private List<String> wrapOfflineCommands(List<String> commands) {
private List<File> wrapOfflineScripts(List<File> scripts) throws IOException, MojoExecutionException {
List<File> wrappedScripts = new ArrayList<>();
for(File script : scripts) {
if (script == null) {
continue;
}
wrappedScripts.add(wrapScript(script).toFile());
}
return wrappedScripts;
Expand Down

0 comments on commit 3b1a91b

Please sign in to comment.