From 3c7476e6445de29ddb60e6d657e10dd7ab68ce75 Mon Sep 17 00:00:00 2001 From: JiSoo Kim Date: Tue, 14 Sep 2021 14:41:54 -0500 Subject: fixing chefstyle issue Signed-off-by: JiSoo Kim --- lib/chef/resource/mount.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/resource/mount.rb b/lib/chef/resource/mount.rb index e43306fa6c..33cd2eec48 100644 --- a/lib/chef/resource/mount.rb +++ b/lib/chef/resource/mount.rb @@ -42,7 +42,7 @@ class Chef sensitive: true property :mount_point, String, name_property: true, - coerce: proc { |arg| (arg == "/" || arg.match?(":/$"))? arg : arg.chomp("/") }, # Removed "/" from the end of str, because it was causing idempotency issue. + coerce: proc { |arg| (arg == "/" || arg.match?(":/$")) ? arg : arg.chomp("/") }, # Removed "/" from the end of str, because it was causing idempotency issue. description: "The directory (or path) in which the device is to be mounted. Defaults to the name of the resource block if not provided." property :device, String, identity: true, -- cgit v1.2.1