Skip to content

Commit 7ff0c06

Browse files
committed
Fix warnings
1 parent 4c9abab commit 7ff0c06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Lint/UselessAssignment:
1212
- '**/spec/**/*'
1313

1414
# HoundCI doesn't like this rule
15-
Style/DotPosition:
15+
Layout/DotPosition:
1616
Enabled: false
1717

1818
# Cop supports --auto-correct.

lib/xcode_summary/plugin.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class DangerXcodeSummary < Plugin
5959
# @param [Boolean] value
6060
# @return [Boolean]
6161
attr_accessor :inline_mode
62-
62+
6363
# Defines if warnings should be included or not
6464
# Defaults to `false`.
6565
# @param [Boolean] value
@@ -92,7 +92,7 @@ def test_summary
9292
def inline_mode
9393
@inline_mode || false
9494
end
95-
95+
9696
def ignores_warnings
9797
@ignores_warnings || false
9898
end
@@ -161,7 +161,7 @@ def warnings(xcode_summary)
161161
if ignores_warnings
162162
return []
163163
end
164-
164+
165165
warnings = [
166166
xcode_summary.fetch(:warnings, []).map { |message| Result.new(message, nil) },
167167
xcode_summary.fetch(:ld_warnings, []).map { |message| Result.new(message, nil) },

0 commit comments

Comments
 (0)