fix: lint
parent
52a8b1d911
commit
3e1176e896
|
@ -145,7 +145,8 @@ std::pair<int, int> leafNodesInWorkspace(const Json::Value& node) {
|
||||||
return {sum, floating_sum};
|
return {sum, floating_sum};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<std::reference_wrapper<const Json::Value>> getSingleChildNode(const Json::Value& node) {
|
std::optional<std::reference_wrapper<const Json::Value>> getSingleChildNode(
|
||||||
|
const Json::Value& node) {
|
||||||
auto const& nodes = node["nodes"];
|
auto const& nodes = node["nodes"];
|
||||||
if (nodes.empty()) {
|
if (nodes.empty()) {
|
||||||
if (node["type"].asString() == "workspace")
|
if (node["type"].asString() == "workspace")
|
||||||
|
|
Loading…
Reference in New Issue