Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
efe7f4f7
Commit
efe7f4f7
authored
Jan 11, 2019
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Danger commit message errors
parent
6d6c2e95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
danger/commit_messages/Dangerfile
danger/commit_messages/Dangerfile
+3
-3
No files found.
danger/commit_messages/Dangerfile
View file @
efe7f4f7
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
require
'json'
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 Style/SignalException
# rubocop: disable Metrics/CyclomaticComplexity
# rubocop: disable Metrics/CyclomaticComplexity
# rubocop: disable Metrics/PerceivedComplexity
# rubocop: disable Metrics/PerceivedComplexity
...
@@ -14,9 +17,6 @@ class EmojiChecker
...
@@ -14,9 +17,6 @@ class EmojiChecker
DIGESTS
=
File
.
expand_path
(
'../../fixtures/emojis/digests.json'
,
__dir__
)
DIGESTS
=
File
.
expand_path
(
'../../fixtures/emojis/digests.json'
,
__dir__
)
ALIASES
=
File
.
expand_path
(
'../../fixtures/emojis/aliases.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
# 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
# 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
# regex to save us from having to check for all possible emoji names when we
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment