Skip to content

Commit 25f31ae

Browse files
committed
fix: typo
1 parent d759085 commit 25f31ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ if (['jsx-directive', 'setup-sfc'].includes(macro)) {
9292
await $`${sg} scan -c ${config} -U --filter 'tsx define-short-slots' ${targetDirectory}`
9393

9494
if (macro === 'setup-sfc') {
95-
await Promise.all(files.map(async file => fs.move(`${file}.sg.tsx`, `${file.slice(0, -3)}.setup.tsx`)))
95+
await Promise.all(files.map(async file => fs.move(`${file}.sg.tsx`, `${file.slice(0, -3)}setup.tsx`)))
9696
}
9797
else {
9898
await $`${sg} scan -c ${config} -U --filter '^tsx sfc$' ${targetDirectory}`

0 commit comments

Comments
 (0)