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 27, 2023
1 parent ebcc99e commit b5a74c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/compileScript.ts
Original file line number Diff line number Diff line change
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 b5a74c5

Please sign in to comment.