Skip to content

Commit

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

Please sign in to comment.