removed redundant return

This commit is contained in:
Zanz2 2018-03-05 16:15:33 +01:00
parent 350f12bdbc
commit e3e7514049

View file

@ -151,8 +151,7 @@ module ProtocolsIoHelper
end
def step_hash_null?(step_json)
return true if step_json.dig(0, 'components', 0, 'component_type_id').nil?
false
step_json.dig(0, 'components', 0, 'component_type_id').nil?
end
# Images are allowed in: