fix loading order of plugins

This commit is contained in:
Dominik Richter 2016-02-07 23:47:10 +01:00
parent 1299e8c084
commit dc028a3877
2 changed files with 4 additions and 4 deletions

View file

@ -25,3 +25,7 @@ require 'utils/base_cli'
# targets
require 'inspec/resource'
require 'inspec/plugins'
# Load all plugins on startup
ctl = Inspec::PluginCtl.new
ctl.list.each { |x| ctl.load(x) }

View file

@ -44,7 +44,3 @@ module Inspec
end
end
end
# Load all plugins on startup
ctl = Inspec::PluginCtl.new
ctl.list.each { |x| ctl.load(x) }