summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Batye <gbatye@fb.com>2016-11-07 15:07:43 -0800
committerGregory Batye <gbatye@fb.com>2016-11-07 15:07:43 -0800
commite8b452c2e9cdfadebe22e1ed2d6cb94b2d4f5a0a (patch)
treec9028b3dd2698801e4af9c4d0988fd5feddbf162
parent7387b08a2ca96ed99d9828d67259ad9fb10f513a (diff)
downloadchef-e8b452c2e9cdfadebe22e1ed2d6cb94b2d4f5a0a.tar.gz
chefstyle
-rw-r--r--lib/chef/provider/osx_profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/osx_profile.rb b/lib/chef/provider/osx_profile.rb
index 842e00892b..07c3e6e318 100644
--- a/lib/chef/provider/osx_profile.rb
+++ b/lib/chef/provider/osx_profile.rb
@@ -55,7 +55,7 @@ class Chef
end
current_profile = nil
- if all_profiles && all_profiles.key?('_computerlevel')
+ if all_profiles && all_profiles.key?("_computerlevel")
current_profile = all_profiles["_computerlevel"].find do |item|
item["ProfileIdentifier"] == @new_profile_identifier
end