mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 23:05:00 +08:00
remove unneeded preserve_paths declaration
Summary: The subspec for `RTCAnimation` defines a `preserve_paths` attribute of `Libraries/NativeAnimation/*.js` (https://github.com/facebook/react-native/blob/master/React.podspec#L60) but there is no JavaScript file in that repository. Linting the podspec therefore fails. The fix was to simply remove `preserve_paths` for this subspec. Closes https://github.com/facebook/react-native/pull/8626 Differential Revision: D3529959 fbshipit-source-id: b187f6ce3898493d9f6a03960caf5ec25c9e4ac2
This commit is contained in:
committed by
Facebook Github Bot 8
parent
bcf4bb6edd
commit
f51fc36ebc
@@ -57,7 +57,6 @@ Pod::Spec.new do |s|
|
|||||||
s.subspec 'RCTAnimation' do |ss|
|
s.subspec 'RCTAnimation' do |ss|
|
||||||
ss.dependency 'React/Core'
|
ss.dependency 'React/Core'
|
||||||
ss.source_files = "Libraries/NativeAnimation/{Nodes/*,*}.{h,m}"
|
ss.source_files = "Libraries/NativeAnimation/{Nodes/*,*}.{h,m}"
|
||||||
ss.preserve_paths = "Libraries/NativeAnimation/*.js"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
s.subspec 'RCTCameraRoll' do |ss|
|
s.subspec 'RCTCameraRoll' do |ss|
|
||||||
|
|||||||
Reference in New Issue
Block a user