lib/inspec/profile.rb in inspec-2.1.10 vs lib/inspec/profile.rb in inspec-2.1.21

- old
+ new

@@ -113,9 +113,12 @@ @backend.profile = @runtime_profile @runner_context = options[:profile_context] || Inspec::ProfileContext.for_profile(self, @backend, @attr_values) + + @supports_platform = metadata.supports_platform?(@backend) + @supports_runtime = metadata.supports_runtime? end def name metadata.params[:name] end