Method: Inspec::Resources::Powershell#strip

Defined in:
lib/inspec/resources/powershell.rb

#stripObject

Removes leading and trailing whitespace from stdout



45
46
47
# File 'lib/inspec/resources/powershell.rb', line 45

def strip
  result.stdout&.strip
end