From be7671da8e26f3baf37850b842656e718c547830 Mon Sep 17 00:00:00 2001 From: Vasundhara Jagdale Date: Fri, 24 Feb 2023 17:15:28 +0530 Subject: [PATCH] Fixing typo in user_permissions (#6344) (#6465) * Fixing typo in user_permissions * Corrected spacing Signed-off-by: Magruder, Micah Co-authored-by: Micah Magruder --- lib/inspec/resources/file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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