Skip to content

Commit baf6afd

Browse files
Maël NisonOleksandr Kolodii
Maël Nison
authored and
Oleksandr Kolodii
committed
Fixes Travis error reporting
Summary: Just cherry-picked my commit from facebook#508 Closes facebook/yoga#542 Differential Revision: D5002335 Pulled By: emilsjolander fbshipit-source-id: 3f61a235c41627e9cfb90dce150323f11892e65f
1 parent d6fb3db commit baf6afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactCommon/yoga/yoga/Yoga.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ YGConfigRef YGConfigGetDefault() {
415415

416416
YGConfigRef YGConfigNew(void) {
417417
const YGConfigRef config = gYGMalloc(sizeof(YGConfig));
418-
YGLog(NULL, config != NULL, "Could not allocate memory for config");
418+
YGAssert(config != NULL, "Could not allocate memory for config");
419419

420420
gConfigInstanceCount++;
421421
memcpy(config, &gYGConfigDefaults, sizeof(YGConfig));

0 commit comments

Comments
 (0)