Skip to content

Commit 56a4c19

Browse files
Update packages/svelte/src/compiler/migrate/index.js
Co-authored-by: Paolo Ricciuti <[email protected]>
1 parent b0e6946 commit 56a4c19

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/migrate

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/migrate/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ function migrate_slot_usage(node, path, state) {
10491049
if (!regex_is_valid_identifier.test(snippet_name)) {
10501050
state.str.appendLeft(
10511051
node.start,
1052-
`<!-- @migration-task: migrate this slot by hand -->\n${state.indent}`
1052+
`<!-- @migration-task: migrate this slot by hand, \`${snippet_name}\` is an invalid identifier -->\n${state.indent}`
10531053
);
10541054
return;
10551055
}

0 commit comments

Comments
 (0)