lib/headdesk/checks/teak/api21_icon.rb in headdesk-0.9.0 vs lib/headdesk/checks/teak/api21_icon.rb in headdesk-0.10.0

- old
+ new

@@ -11,10 +11,10 @@ class Api21Icon include Checks::Teak::APK check_name 'api21_icon' describe 'Check for API 21+ Teak icons' - # :reek:UncommunicativeVariableName { accept: ['icon_v21'] } + # :reek:NilCheck and :reek:UncommunicativeVariableName { accept: ['icon_v21'] } def call skip_check if: -> { apk.min_sdk 21 } icon = apk.resources .values(v: 20)