Skip to content

Commit

Permalink
fix ==
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao committed Sep 2, 2024
1 parent ec5d4ae commit 21e79d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function createTree(manifest: ScenarioManifest): ManifestTreeNode {
function cutTillMultipleChildren(node: ManifestTreeNode): ManifestTreeNode {
let newRoot: ManifestTreeNode = node;
while (newRoot.children) {
if (Object.keys(newRoot.children).length == 1) {
if (Object.keys(newRoot.children).length === 1) {
newRoot = Object.values(newRoot.children)[0];
} else {
break;
Expand Down

0 comments on commit 21e79d2

Please sign in to comment.