Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Sep 19, 2024
1 parent 6bd20c6 commit 30a58ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function SvelteSelf(node, context) {
const basename =
filename === '(unknown)'
? 'Self.svelte'
: /** @type {string} */ (filename.split(/[\/]/).pop());
: /** @type {string} */ (filename.split(/[/\\]/).pop());

w.svelte_self_deprecated(node, name, basename);
}
Expand Down

0 comments on commit 30a58ac

Please sign in to comment.