Skip to content

Commit 969bad6

Browse files
committed
Remove config[:reanimated_node_modules_dir] in reanimated_utils.rb (#6611)
## Summary This PR removes `config[:reanimated_node_modules_dir]` because it looks like it's unused (at least I hope so). Apart from this, the value is incorrect (it's `/Users/tomekzaw/RNOS/react-native-reanimated/packages` on my setup but should be `/Users/tomekzaw/RNOS/react-native-reanimated/packages/react-native-reanimated`). ## Test plan
1 parent 7d14cea commit 969bad6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-native-reanimated/scripts/reanimated_utils.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def find_config()
1313
:react_native_minor_version => nil,
1414
:is_tvos_target => nil,
1515
:react_native_node_modules_dir => nil,
16-
:reanimated_node_modules_dir => nil,
1716
:react_native_common_dir => nil,
1817
}
1918

@@ -38,7 +37,6 @@ def find_config()
3837
result[:react_native_minor_version] = 1000
3938
end
4039
result[:react_native_node_modules_dir] = File.expand_path(react_native_node_modules_dir)
41-
result[:reanimated_node_modules_dir] = File.expand_path(File.join(__dir__, '..', '..'))
4240

4341
pods_root = Pod::Config.instance.project_pods_root
4442
react_native_common_dir_absolute = File.join(react_native_node_modules_dir, 'react-native', 'ReactCommon')

0 commit comments

Comments
 (0)