Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 28, 2022
1 parent 888ec8f commit 1a89658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/compileScript.ts
Expand Up @@ -1230,7 +1230,7 @@ export function compileScript(
// last one, locate the end of the prev
start = node.declarations[getLastIndex(i)].end! + startOffset
} else {
// not last one, locate the start of the next
// not the last one, locate the start of the next
end = node.declarations[i + 1].start! + startOffset
}
s.remove(start, end)
Expand Down

0 comments on commit 1a89658

Please sign in to comment.