lib/cocoapods-jxedt/binary/hooks/post_install.rb in cocoapods-jxedt-0.0.13 vs lib/cocoapods-jxedt/binary/hooks/post_install.rb in cocoapods-jxedt-0.0.14

- old
+ new

@@ -9,14 +9,14 @@ return unless Jxedt.config.binary_switch? require_relative '../helper/prebuild_sandbox' # :post_install过程校验两次`pod install`的值 - validate_pod_checksum unless @installer_context.sandbox.is_a?(Pod::PrebuildSandbox) + validate_pod_checksum unless @installer_context.sandbox.is_a?(Pod::JxedtPrebuildSandbox) end def validate_pod_checksum - original_installer = ObjectSpace.each_object(Pod::Installer).reject {|installer| installer.sandbox.is_a?(Pod::PrebuildSandbox) }.first + original_installer = ObjectSpace.each_object(Pod::Installer).reject {|installer| installer.sandbox.is_a?(Pod::JxedtPrebuildSandbox) }.first return if original_installer.nil? check_result = original_installer.lockfile == @installer_context.sandbox.source_lockfile unless check_result validation_failed = [] \ No newline at end of file