Skip to content

Commit

Permalink
fix(gitlab: events) tag_push: fix space between tag commit & text
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sevilla Martín authored May 16, 2017
1 parent 1ea481c commit 2e9d446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/tag_push.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TagPush extends EventResponse {

return {
color: 0xF0C330,
title: `${this.isCreated(data) ? 'Created' : 'Deleted'} tag \`${tag}\` ${sha ? `from commit \`${sha}\`` : ''}${isCreated ? `with ${commitCount} ${commitCount !== 1 ? 'commits' : 'commit'}` : ''}`,
title: `${this.isCreated(data) ? 'Created' : 'Deleted'} tag \`${tag}\` ${sha ? `from commit \`${sha}\`` : ''}${isCreated ? ` with ${commitCount} ${commitCount !== 1 ? 'commits' : 'commit'}` : ''}`,
url: isCreated ? `${data.project.web_url}/tags/${tag}` : null,
description: `${message.slice(0, 2000)}${message.length > 2000 ? '...' : ''}`,
};
Expand Down

0 comments on commit 2e9d446

Please sign in to comment.