diff --git a/lib/inspec/resources/file.rb b/lib/inspec/resources/file.rb index 46b3a96bd..4a97e34e3 100644 --- a/lib/inspec/resources/file.rb +++ b/lib/inspec/resources/file.rb @@ -66,7 +66,7 @@ module Inspec::Resources def user_permissions return {} unless exist? - return skip_reource"`user_permissions` is not supported on your OS yet." unless inspec.os.windows? + return skip_resource "`user_permissions` is not supported on your OS yet." unless inspec.os.windows? @perms_provider.user_permissions(file) end