summaryrefslogtreecommitdiff
path: root/lib/chef/provider/service
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:33:43 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:33:43 -0700
commitf2232a71362244747949efe9ac30a7bb410626e4 (patch)
tree4671859d0fcdc385f161c087508f6bef088a1657 /lib/chef/provider/service
parent0bdd618fc5146dad3fa5a90d10a4b5e608e4663d (diff)
downloadchef-f2232a71362244747949efe9ac30a7bb410626e4.tar.gz
fix some Style/StringLiterals introduced by the UnneededInterpolation
cop Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/service')
-rw-r--r--lib/chef/provider/service/openbsd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/openbsd.rb b/lib/chef/provider/service/openbsd.rb
index b0bddaddbc..126a431742 100644
--- a/lib/chef/provider/service/openbsd.rb
+++ b/lib/chef/provider/service/openbsd.rb
@@ -116,7 +116,7 @@ class Chef
old_list = rc_conf_local.match(/^pkg_scripts="(.*)"/)
old_list = old_list ? old_list[1].split(" ") : []
new_list = old_list - [new_resource.service_name]
- update_rcl rc_conf_local.sub(/^pkg_scripts="(.*)"/, pkg_scripts = (new_list.join(' ')).to_s)
+ update_rcl rc_conf_local.sub(/^pkg_scripts="(.*)"/, pkg_scripts = (new_list.join(" ")).to_s)
end
end
end