Skip to content

Commit

Permalink
Fix up unneed points
Browse files Browse the repository at this point in the history
  • Loading branch information
paveg committed Aug 5, 2018
1 parent c649f81 commit 92c87c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ DEPENDENCIES
yard (~> 0.9.11)

BUNDLED WITH
1.16.3
1.15.4
5 changes: 3 additions & 2 deletions lib/lgtm/error_handleable.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Lgtm
# ErrorHandleable of module of error handling
# ErrorHandleable is module of error handling
module ErrorHandleable
# 4xx http status.
CLIENT_ERRORS = [
Expand All @@ -15,7 +15,8 @@ module ErrorHandleable
Net::HTTPGatewayTimeOut
].freeze

# validate_response is response validationg
# validate_response is response validating
#
# @param [Net::HTTPxxx] response Net::HTTP responses
# @raise ::Lgtm::Errors::UnexpectedError
# @return [void]
Expand Down
1 change: 1 addition & 0 deletions lib/lgtm/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DangerLgtm < Plugin
# @param [Boolean] https_image_only https image only if true
#
# @return [void]
#
def check_lgtm(image_url: nil, https_image_only: false)
return unless status_report[:errors].length.zero? &&
status_report[:warnings].length.zero?
Expand Down

0 comments on commit 92c87c6

Please sign in to comment.