@@ -188,8 +188,7 @@ inline void fromRawValue(
188
188
result = yoga::Direction::RTL;
189
189
return ;
190
190
}
191
- LOG (ERROR) << " Could not parse Direction:" << stringValue;
192
- react_native_expect (false );
191
+ LOG (ERROR) << " Could not parse yoga::Direction: " << stringValue;
193
192
}
194
193
195
194
inline void fromRawValue (
@@ -218,8 +217,7 @@ inline void fromRawValue(
218
217
result = yoga::FlexDirection::RowReverse;
219
218
return ;
220
219
}
221
- LOG (ERROR) << " Could not parse yoga::FlexDirection:" << stringValue;
222
- react_native_expect (false );
220
+ LOG (ERROR) << " Could not parse yoga::FlexDirection: " << stringValue;
223
221
}
224
222
225
223
inline void fromRawValue (
@@ -256,8 +254,7 @@ inline void fromRawValue(
256
254
result = yoga::Justify::SpaceEvenly;
257
255
return ;
258
256
}
259
- LOG (ERROR) << " Could not parse yoga::Justify:" << stringValue;
260
- react_native_expect (false );
257
+ LOG (ERROR) << " Could not parse yoga::Justify: " << stringValue;
261
258
}
262
259
263
260
inline void fromRawValue (
@@ -306,7 +303,7 @@ inline void fromRawValue(
306
303
result = yoga::Align::SpaceEvenly;
307
304
return ;
308
305
}
309
- LOG (ERROR) << " Could not parse yoga::Align:" << stringValue;
306
+ LOG (ERROR) << " Could not parse yoga::Align: " << stringValue;
310
307
react_native_expect (false );
311
308
}
312
309
@@ -332,8 +329,7 @@ inline void fromRawValue(
332
329
result = yoga::PositionType::Absolute;
333
330
return ;
334
331
}
335
- LOG (ERROR) << " Could not parse yoga::PositionType:" << stringValue;
336
- react_native_expect (false );
332
+ LOG (ERROR) << " Could not parse yoga::PositionType: " << stringValue;
337
333
}
338
334
339
335
inline void fromRawValue (
@@ -358,8 +354,7 @@ inline void fromRawValue(
358
354
result = yoga::Wrap::WrapReverse;
359
355
return ;
360
356
}
361
- LOG (ERROR) << " Could not parse yoga::Wrap:" << stringValue;
362
- react_native_expect (false );
357
+ LOG (ERROR) << " Could not parse yoga::Wrap: " << stringValue;
363
358
}
364
359
365
360
inline void fromRawValue (
@@ -406,8 +401,7 @@ inline void fromRawValue(
406
401
result = yoga::Display::None;
407
402
return ;
408
403
}
409
- LOG (ERROR) << " Could not parse yoga::Display:" << stringValue;
410
- react_native_expect (false );
404
+ LOG (ERROR) << " Could not parse yoga::Display: " << stringValue;
411
405
}
412
406
413
407
inline void fromRawValue (
0 commit comments