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

Commit 6d22ffc

Browse files
committed
Fixes for rubocop
1 parent 4c6acd3 commit 6d22ffc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/dependency_spy/dtos/dependency.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def to_map
2727
map = {}
2828
members.each do |m|
2929
if !self[m] ||
30-
(self[m].is_a?(String) && self[m].empty?) ||
31-
(self[m].is_a?(Array) && self[m].none?)
30+
(self[m].is_a?(String) && self[m].empty?) ||
31+
(self[m].is_a?(Array) && self[m].none?)
3232
next
3333
elsif self[m].is_a?(Struct)
3434
map[m.to_s] = self[m].to_map
@@ -60,8 +60,8 @@ def to_map
6060
map = {}
6161
members.each do |m|
6262
if !self[m] ||
63-
(self[m].is_a?(String) && self[m].empty?) ||
64-
(self[m].is_a?(Array) && self[m].none?)
63+
(self[m].is_a?(String) && self[m].empty?) ||
64+
(self[m].is_a?(Array) && self[m].none?)
6565
next
6666
elsif self[m].is_a?(Struct)
6767
map[m.to_s] = self[m].to_map

0 commit comments

Comments
 (0)