Skip to content

Commit 4ebfb1d

Browse files
committed
fix: fix prefix not being stripped in template
1 parent 691e00e commit 4ebfb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default async function create(argv: yargs.Arguments<any>) {
148148
const files = await fs.readdir(source);
149149

150150
for (const f of files) {
151-
const target = path.join(dest, ejs.render(f.replace(/^$/, ''), options));
151+
const target = path.join(dest, ejs.render(f.replace(/^\$/, ''), options));
152152

153153
const file = path.join(source, f);
154154
const stats = await fs.stat(file);

0 commit comments

Comments
 (0)