Skip to content

Commit 5962d88

Browse files
hardworkerleavez
authored andcommitted
Added lockfile parameter passing to installer initializer
1 parent 33ca8d6 commit 5962d88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cocoapods-binary/Main.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def keep_source_code_for_prebuilt_frameworks!
8080
prebuild_podfile = Pod::Podfile.from_ruby(podfile.defined_in_file)
8181

8282
# install
83-
binary_installer = Pod::Installer.new(prebuild_sandbox, prebuild_podfile , nil)
83+
lockfile = installer_context.lockfile
84+
binary_installer = Pod::Installer.new(prebuild_sandbox, prebuild_podfile, lockfile)
8485

8586
if binary_installer.have_exact_prebuild_cache?
8687
binary_installer.install_when_cache_hit!

0 commit comments

Comments
 (0)