Skip to content

Commit e6952ef

Browse files
authored
fix(apple): properly escape node_bin (#2284)
1 parent 346b18c commit e6952ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/test_app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def make_project!(xcodeproj, project_root, target_platform, options)
209209
node_bin = find_node
210210
File.write(File.join(project_root, '.xcode.env'), "export NODE_BINARY='#{node_bin}'\n")
211211
File.write(File.join(destination, '.env'),
212-
"export PATH=#{`dirname '#{node_bin}'`.strip!}:$PATH\n")
212+
"export PATH='#{`dirname '#{node_bin}'`.strip!}':$PATH\n")
213213

214214
react_native = react_native_path(project_root, target_platform)
215215
rn_version = package_version(react_native.to_s).segments

0 commit comments

Comments
 (0)