We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f415c commit b574bceCopy full SHA for b574bce
scripts/copy_template.ts
@@ -24,14 +24,12 @@ if (!values?.name || !values?.template) {
24
}
25
26
const sourcePath = path.resolve(
27
- new URL('.', import.meta.url).pathname,
28
- '..',
+ new URL('.', import.meta.url).host,
29
'templates',
30
values.template as string
31
);
32
const destPath = path.resolve(
33
34
35
'packages',
36
values.name as string
37
0 commit comments