lib/inspec/dependencies/requirement.rb in inspec-1.45.9 vs lib/inspec/dependencies/requirement.rb in inspec-1.45.13

- old
+ new

@@ -109,10 +109,10 @@ name end # load the profile for the requirement def profile - return @profile if ! @profile.nil? + return @profile unless @profile.nil? opts = @opts.dup opts[:backend] = @backend if !@dependencies.nil? opts[:dependencies] = Inspec::DependencySet.from_array(@dependencies, @cwd, @cache, @backend) end