lib/knife-spork/plugins/plugin.rb in knife-spork-1.0.5 vs lib/knife-spork/plugins/plugin.rb in knife-spork-1.0.6
- old
+ new
@@ -30,10 +30,10 @@
:payload => {}
}.merge(options)
end
def enabled?
- !config.nil?
+ !(config.nil? || config.enabled == false)
end
private
def config
@options[:config].plugins.send(self.class.name.to_sym) unless @options[:config].nil? || @options[:config].plugins.nil?