Skip to content

Commit

Permalink
Merge pull request #81 from tzachs/master
Browse files Browse the repository at this point in the history
Fixed NPE in BitBucketTriggerRunnable
  • Loading branch information
tzachs authored Feb 4, 2022
2 parents 2fd4234 + 11001e4 commit fe32d14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void onPost(String triggeredByUser, final String payload, String branchNa
LOGGER,
triggeredByUser,
branchName,
buildOnCreatedBranch
buildOnCreatedBranch != null && buildOnCreatedBranch // buildOnCreatedBranch == null ? false : buildOnCreatedBranch to prevent NPE
)
);
}
Expand Down

0 comments on commit fe32d14

Please sign in to comment.