mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL] build: remove deprecated File.exists() method from Hermes podspec. (#35853)
This commit is contained in:
@@ -43,7 +43,7 @@ elsif isNightly
|
||||
destination_path = download_nightly_hermes(react_native_path, version)
|
||||
# set tarball as hermes engine
|
||||
source[:http] = "file://#{destination_path}"
|
||||
elsif File.exists?(hermestag_file) && isInCI
|
||||
elsif File.exist?(hermestag_file) && isInCI
|
||||
Pod::UI.puts '[Hermes] Detected that you are on a React Native release branch, building Hermes from source but fetched from tag...'.yellow if Object.const_defined?("Pod::UI")
|
||||
hermestag = File.read(hermestag_file).strip
|
||||
source[:git] = git
|
||||
|
||||
Reference in New Issue
Block a user