Skip to content

Commit

Permalink
fix: argument
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Dec 25, 2024
1 parent 4fbb60f commit 0fdf8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-service/lib/plugins/vue-document-drop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function create(
});

if (sfc.script) {
const edit = createAddComponentToOptionEdit(ts, sfc.script.ast, newName);
const edit = createAddComponentToOptionEdit(ts, sfc, sfc.script.ast, newName);
if (edit) {
additionalEdit.changes[embeddedDocumentUriStr].push({
range: {
Expand Down

0 comments on commit 0fdf8ac

Please sign in to comment.