mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
improvement: skip package resource if not supported on OS
This commit is contained in:
parent
a88304d030
commit
05dd53b5b4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Package < Vulcano.resource(1)
|
||||||
when 'darwin'
|
when 'darwin'
|
||||||
@pkgman = Brew.new(vulcano)
|
@pkgman = Brew.new(vulcano)
|
||||||
else
|
else
|
||||||
fail 'The `package` resource is not supported on your OS yet. Please open an issue on Github.'
|
return skip_resource 'The `package` resource is not supported on your OS yet.'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue