Skip to content

Commit 673acec

Browse files
javoskiphanan
authored andcommitted
Remove unnecessary code (vuejs#4995)
1 parent 4cf4982 commit 673acec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export function parse (
251251
text
252252
})
253253
} else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') {
254-
currentParent.children.push({
254+
children.push({
255255
type: 3,
256256
text
257257
})

0 commit comments

Comments
 (0)