Skip to content

Commit

Permalink
fix(apple): properly escape node_bin (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen authored Oct 18, 2024
1 parent 346b18c commit e6952ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/test_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def make_project!(xcodeproj, project_root, target_platform, options)
node_bin = find_node
File.write(File.join(project_root, '.xcode.env'), "export NODE_BINARY='#{node_bin}'\n")
File.write(File.join(destination, '.env'),
"export PATH=#{`dirname '#{node_bin}'`.strip!}:$PATH\n")
"export PATH='#{`dirname '#{node_bin}'`.strip!}':$PATH\n")

react_native = react_native_path(project_root, target_platform)
rn_version = package_version(react_native.to_s).segments
Expand Down

0 comments on commit e6952ef

Please sign in to comment.