lib/headdesk/checks/teak.rb in headdesk-0.11.3 vs lib/headdesk/checks/teak.rb in headdesk-0.12.0
- old
+ new
@@ -29,10 +29,10 @@
#
# Instance methods for Teak based checks
#
module InstanceMethods
def preconditions?
- false unless apk.class?('io.teak.sdk.Teak')
+ apk.class?('io.teak.sdk.Teak')
end
def teak_sdk
return @teak_sdk if @teak_sdk