Skip to content

Commit 6ed522f

Browse files
authored
Merge pull request #12 from dev-sec/dom/lint
fix linting errors
2 parents ae1b2f3 + 22b2f31 commit 6ed522f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

libraries/linux_updates.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class LinuxUpdateManager < Inspec.resource(1)
2525
# Since Amazon Linux is based on RedHat, they may use the same method.
2626
def initialize
2727
case inspec.os[:family]
28-
when 'redhat', 'amazon'
29-
@update_mgmt = RHELUpdateFetcher.new(inspec)
30-
when 'debian'
31-
@update_mgmt = UbuntuUpdateFetcher.new(inspec)
28+
when 'redhat', 'amazon'
29+
@update_mgmt = RHELUpdateFetcher.new(inspec)
30+
when 'debian'
31+
@update_mgmt = UbuntuUpdateFetcher.new(inspec)
3232
end
3333
return skip_resource 'The `linux_update` resource is not supported on your OS.' if @update_mgmt.nil?
3434
end

0 commit comments

Comments
 (0)