From bd918dd9f8a815a734e0191dea947b042107d7f7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 9 Dec 2014 14:22:35 -0500 Subject: saltstack: prefer cached_location method over @clone ivar --- Library/Formula/saltstack.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/saltstack.rb') diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb index a801f28db..8605aa67a 100644 --- a/Library/Formula/saltstack.rb +++ b/Library/Formula/saltstack.rb @@ -5,8 +5,8 @@ require "formula" # This is populated from git information unfortunately. class SaltHeadDownloadStrategy < GitDownloadStrategy def stage - @clone.cd {reset} - safe_system "git", "clone", @clone, "." + cached_location.cd { reset } + safe_system "git", "clone", cached_location, "." end end -- cgit v1.2.3