diff options
author | Drew Blessing <drew@blessing.io> | 2019-01-11 22:22:10 +0000 |
---|---|---|
committer | Drew Blessing <drew@blessing.io> | 2019-01-11 22:22:10 +0000 |
commit | efe7f4f76878d88950c4193b81a7864f5d866935 (patch) | |
tree | 18d381ab7e46c2d60b5e622cea42b68d08784133 /danger/commit_messages | |
parent | 6d6c2e95dd8c813a9646c6289589957749bd4b0c (diff) | |
download | gitlab-ce-efe7f4f76878d88950c4193b81a7864f5d866935.tar.gz |
Fix Danger commit message errors
Diffstat (limited to 'danger/commit_messages')
-rw-r--r-- | danger/commit_messages/Dangerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/danger/commit_messages/Dangerfile b/danger/commit_messages/Dangerfile index 691dbbab184..c20c8b77e6a 100644 --- a/danger/commit_messages/Dangerfile +++ b/danger/commit_messages/Dangerfile @@ -2,6 +2,9 @@ require 'json' +URL_LIMIT_SUBJECT = "https://chris.beams.io/posts/git-commit/#limit-50" +URL_GIT_COMMIT = "https://chris.beams.io/posts/git-commit/" + # rubocop: disable Style/SignalException # rubocop: disable Metrics/CyclomaticComplexity # rubocop: disable Metrics/PerceivedComplexity @@ -14,9 +17,6 @@ class EmojiChecker DIGESTS = File.expand_path('../../fixtures/emojis/digests.json', __dir__) ALIASES = File.expand_path('../../fixtures/emojis/aliases.json', __dir__) - URL_LIMIT_SUBJECT = "https://chris.beams.io/posts/git-commit/#limit-50" - URL_GIT_COMMIT = "https://chris.beams.io/posts/git-commit/" - # A regex that indicates a piece of text _might_ include an Emoji. The regex # alone is not enough, as we'd match `:foo:bar:baz`. Instead, we use this # regex to save us from having to check for all possible emoji names when we |