mirror of
https://github.com/inspec/inspec
synced 2024-11-14 00:47:10 +00:00
Add a to_s method for sys_info to avoid conversion error
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
192c241ee0
commit
80db6b52c7
1 changed files with 4 additions and 0 deletions
|
@ -54,5 +54,9 @@ module Inspec::Resources
|
|||
skip_resource "The `sys_info.model` resource is not supported on your OS yet."
|
||||
end
|
||||
end
|
||||
|
||||
def to_s
|
||||
"System Information"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue