Skip to content

Commit

Permalink
[LOCAL] build: remove deprecated File.exists() method from Hermes pod…
Browse files Browse the repository at this point in the history
…spec. (#35853)
  • Loading branch information
kelset committed Jan 19, 2023
1 parent 3d8152e commit 38e5fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/hermes-engine/hermes-engine.podspec
Expand Up @@ -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
Expand Down

0 comments on commit 38e5fa6

Please sign in to comment.