Skip to content

Commit 9bd5669

Browse files
committed
rubocop Lint/Void
1 parent a7792bb commit 9bd5669

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.rubocop_todo.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Gemspec/RequiredRubyVersion:
1919
Lint/Void:
2020
Exclude:
2121
- 'lib/ffaker.rb'
22-
- 'test/test_vehicle.rb'
2322

2423
# Offense count: 27
2524
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.

test/test_vehicle.rb

-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def vin_checksum_digit(vin)
9494
end
9595

9696
check_digit = weighted_sum % 11
97-
check_digit == '10' ? 'X' : check_digit
9897
check_digit = 'X' if check_digit == 10
9998
check_digit.to_s
10099
end

0 commit comments

Comments
 (0)