Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:pascal-zarrad/tc-discord-webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-zarrad committed Feb 18, 2020
2 parents befa73f + d0f89fb commit 0eefafe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private DiscordEmbedField[] buildFieldsForRunningBuild(SRunningBuild sRunningBui
// Branch
Branch branch = sRunningBuild.getBranch();
String branchName = "Default";
if (branch != null && branch.getName().equals(Branch.DEFAULT_BRANCH_NAME)) {
if (branch != null && !branch.getName().equals(Branch.DEFAULT_BRANCH_NAME)) {
branchName = branch.getDisplayName();
}
discordEmbedFields.add(new DiscordEmbedField("Branch", branchName, true));
Expand Down

0 comments on commit 0eefafe

Please sign in to comment.