From b8d0130343ff1b4e35e7d8ee755c808e01e351bf Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 10 Apr 2020 14:47:35 -0700 Subject: Call the right plist in build-essential Signed-off-by: Tim Smith --- lib/chef/resource/build_essential.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb index 5a41f3895b..ab1be3bcfd 100644 --- a/lib/chef/resource/build_essential.rb +++ b/lib/chef/resource/build_essential.rb @@ -161,7 +161,7 @@ class Chef # # @return [true, false] def xcode_cli_installed? - packages = Plist.parse_xml(::File.open("/Library/Receipts/InstallHistory.plist", "r")) + packages = ::Plist.parse_xml(::File.open("/Library/Receipts/InstallHistory.plist", "r")) packages.select! { |package| package["displayName"].match? "Command Line Tools" } !packages.empty? end -- cgit v1.2.1