Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
make codecov happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Darmody committed Feb 26, 2020
1 parent 5c8316b commit f45770f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/remax/src/VNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,8 @@ export default class VNode {
});

while (stack.length > 0) {
const stackItem = stack.pop();

if (!stackItem) {
continue;
}
// while 循环已经保证了不会有空值
const stackItem = stack.pop()!;

const { children, currentNode } = stackItem;

Expand Down

0 comments on commit f45770f

Please sign in to comment.