Skip to content

Commit

Permalink
adjustment to copy-template (#2351)
Browse files Browse the repository at this point in the history
Co-authored-by: Vieltojarvi <[email protected]>
  • Loading branch information
ShadowCat567 and Vieltojarvi authored Dec 19, 2024
1 parent e7f415c commit b574bce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/copy_template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ if (!values?.name || !values?.template) {
}

const sourcePath = path.resolve(
new URL('.', import.meta.url).pathname,
'..',
new URL('.', import.meta.url).host,
'templates',
values.template as string
);
const destPath = path.resolve(
new URL('.', import.meta.url).pathname,
'..',
new URL('.', import.meta.url).host,
'packages',
values.name as string
);
Expand Down

0 comments on commit b574bce

Please sign in to comment.