Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 8f18ce1

Browse files
author
Ashley Baldwin-Hunter
committed
Merge pull request #78 from codeclimate/abh_fix_comment_placement
keep comment with target method
2 parents b7cc925 + 9a4b84a commit 8f18ce1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/cc/services/github_pull_requests.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ class Config < CC::Service::Config
2121
BASE_URL = "https://api.github.com"
2222
BODY_REGEX = %r{<b>Code Climate</b> has <a href=".*">analyzed this pull request</a>}
2323
COMMENT_BODY = '<img src="https://codeclimate.com/favicon.png" width="20" height="20" />&nbsp;<b>Code Climate</b> has <a href="%s">analyzed this pull request</a>.'
24-
# Just make sure we can access GH using the configured token. Without
25-
# additional information (github-slug, PR number, etc) we can't test much
26-
# else.
27-
2824
MESSAGES = [
2925
DEFAULT_ERROR = "Code Climate encountered an error attempting to analyze this pull request",
3026
]
3127

28+
# Just make sure we can access GH using the configured token. Without
29+
# additional information (github-slug, PR number, etc) we can't test much
30+
# else.
3231
def receive_test
3332
setup_http
3433

0 commit comments

Comments
 (0)