Skip to content

Commit 38e5fa6

Browse files
committed
[LOCAL] build: remove deprecated File.exists() method from Hermes podspec. (#35853)
1 parent 3d8152e commit 38e5fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdks/hermes-engine/hermes-engine.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ elsif isNightly
4343
destination_path = download_nightly_hermes(react_native_path, version)
4444
# set tarball as hermes engine
4545
source[:http] = "file://#{destination_path}"
46-
elsif File.exists?(hermestag_file) && isInCI
46+
elsif File.exist?(hermestag_file) && isInCI
4747
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")
4848
hermestag = File.read(hermestag_file).strip
4949
source[:git] = git

0 commit comments

Comments
 (0)