diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-05-06 17:24:34 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-05-06 17:24:34 -0700 |
commit | 1c2b0bf2c01dd8543efceb6384f41852a342c7b4 (patch) | |
tree | 18686144673f52091c3ee9afb762364767bb1756 | |
parent | cf06a973e3494428c36725d649a06a4664421976 (diff) | |
download | chef-1c2b0bf2c01dd8543efceb6384f41852a342c7b4.tar.gz |
make it real obvious we're doing lexical scoping
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/launchd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/launchd.rb b/lib/chef/provider/launchd.rb index 0eabd821e2..3be2f2995d 100644 --- a/lib/chef/provider/launchd.rb +++ b/lib/chef/provider/launchd.rb @@ -87,7 +87,7 @@ class Chef end def manage_plist(action) - path = @path + path = path if source cookbook_file path do cookbook_name = new_resource.cookbook if new_resource.cookbook @@ -108,7 +108,7 @@ class Chef end def manage_service(action) - path = @path + path = path macosx_service label do name(new_resource.label) if new_resource.label service_name(new_resource.label) if new_resource.label |