mirror of https://github.com/vuejs/core.git
chore: fix typo (#7680)
This commit is contained in:
parent
1d09540798
commit
a0e7dc3343
|
@ -719,7 +719,7 @@ export function transformAST(
|
||||||
while (i--) {
|
while (i--) {
|
||||||
const char = s.original.charAt(i)
|
const char = s.original.charAt(i)
|
||||||
if (char === '\n') {
|
if (char === '\n') {
|
||||||
// only insert semi if it's actually the fisrt thign after
|
// only insert semi if it's actually the first thing after
|
||||||
// newline
|
// newline
|
||||||
s.prependRight(node.start! + offset, ';')
|
s.prependRight(node.start! + offset, ';')
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue