Skip to content

Commit a53a6f2

Browse files
committed
fix: windows doesn't like *
1 parent 224578b commit a53a6f2

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

.changeset/violet-ways-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-jellycommands': patch
3+
---
4+
5+
windows doesn't like the \* character so replace with \_

packages/create-jellycommands/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const run = async () => {
6262
const templateGlob = desmJoin(import.meta.url, useTypeScript ? 'ts' : 'js', '/**');
6363

6464
await cpy(templateGlob, target, {
65-
rename: (basename) => (basename.startsWith('*') ? `.${basename.slice(1)}` : basename),
65+
rename: (basename) => (basename.startsWith('_') ? `.${basename.slice(1)}` : basename),
6666
});
6767

6868
console.log(`${logSymbols.success} ${kleur.green('Your project has been created!')}`);

0 commit comments

Comments
 (0)