mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix RCTConvert analyser error
Summary: @public Fix analyser error on RCTConvert where a key used to subscript an NSMutableDictionary could possibly be nil. Reviewed By: @alexeylang, @jspahrsummers Differential Revision: D2498988
This commit is contained in:
1 parent
8221c33650
commit
eee2fd1ca2
1 file changed
+1
@@ -422,6 +422,7 @@ RCT_CGSTRUCT_CONVERTER(CGAffineTransform, (@[
|
||||
isPackagerAsset = [self BOOL:json[@"__packager_asset"]];
|
||||
} else {
|
||||
RCTLogConvertError(json, @"an image");
|
||||
return nil;
|
||||
}
|
||||
|
||||
NSURL *URL = [self NSURL:path];
|
||||
|
||||
Reference in new issue
Block a user