mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Rearrange a require in metadata.rb to break circularity is load.
For some reason this works fine in linux & osx but fails on windows but only when some things are loaded in isolation. *shrug*
This commit is contained in:
parent
fb163ad294
commit
2cb5f26998
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ module Inspec
|
|||
end
|
||||
|
||||
def supports_platform?(backend)
|
||||
require "inspec/resources/platform" # break circularity in load
|
||||
backend.platform.supported?(params[:supports])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue