Skip to content

Commit

Permalink
Remove inline comment about error explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jul 21, 2023
1 parent c992bcb commit 7e11b1e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Gutenberg/cocoapods_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ def gutenberg_post_install(installer:)
puts "[Gutenberg] Running Gutenberg post install hook (RN path: #{react_native_path})"

# It seems like React Native prepends $PWD to the path internally in the post install hook.
# When using an absolute path, we get this error, notice the duplicated "/Users/gio/Developer/a8c/wpios":
#
# [!] An error occurred while processing the post-install hook of the Podfile.
#
# No such file or directory @ rb_sysopen - <GUTENBERG_MOBILE_PROJECT_PATH>/gutenberg/node_modules/react-native/package.json
#
# To workaround, we make sure the path is relative to Dir.pwd
react_native_path = Pathname.new(react_native_path).relative_path_from(Dir.pwd)

Expand Down

0 comments on commit 7e11b1e

Please sign in to comment.