From 93b6c09eeb45bc9937b8b78f7258c9e8905fc9d6 Mon Sep 17 00:00:00 2001 From: Joe Vilches Date: Tue, 9 Jan 2024 11:46:05 -0800 Subject: [PATCH] Fix error from misspelled function name (#1542) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1542 `YGNodeSetAlwaysFormContainingBlock` -> `YGNodeSetAlwaysFormsContainingBlock` Started getting tasks telling me github CI was broken. Turns out I was just mispelling this. Its not a big deal but we really should ensure that stuff will not land if it break github CI...not in our wheelhouse but it seems quite silly that this happens. Also, a lot of the random files do not have auto complete or code checking which is why I didn't notice this to begin with. Reviewed By: NickGerleman Differential Revision: D52632257 fbshipit-source-id: 367ae5766ef9baecf55f7c227ff9fc8dece43af6 --- javascript/src/Node.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/src/Node.cpp b/javascript/src/Node.cpp index 40c74b98..5a5a1859 100644 --- a/javascript/src/Node.cpp +++ b/javascript/src/Node.cpp @@ -470,5 +470,6 @@ double Node::getComputedPadding(int edge) const { } void Node::setAlwaysFormsContainingBlock(bool alwaysFormsContainingBlock) { - return YGNodeSetAlwaysFormContainingBlock(m_node, alwaysFormsContainingBlock); + return YGNodeSetAlwaysFormsContainingBlock( + m_node, alwaysFormsContainingBlock); }