Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 4, 2023
1 parent 74c2a91 commit f8846c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/compileScript.ts
Expand Up @@ -1236,7 +1236,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 f8846c3

Please sign in to comment.