mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
a54bc98087
When running `inspec exec` with multiple profiles, such as: inspec exec profile1 profile2 ... profile1 control calls to `inspec.profile.file` will incorrectly try to pull files from profile2 because the RuntimeProfile object is stored on the backend object, and we share the backend object. This change ensures each profile has a unique backend object to ensure the RuntimeProfile instance is not overwritten. Signed-off-by: Adam Leff <adam@leff.co> |
||
---|---|---|
.. | ||
bundles | ||
fetchers | ||
inspec | ||
matchers | ||
resources | ||
source_readers | ||
utils | ||
inspec.rb |