Skip to content

Commit 382f3bb

Browse files
authored
Merge pull request #6 from dev-sec/chris-rock/only_if
only run detailed patch control if patches are available
2 parents a7f8192 + b131ab9 commit 382f3bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

controls/patches.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@
2323
its('version') { should eq update['version'] }
2424
end
2525
}
26+
only_if { linux_update.updates.length > 0 }
2627
end

0 commit comments

Comments
 (0)