fix(new-design): More v3 tweaks
This commit is contained in:
parent
8e68bfc465
commit
09c838cc80
7 changed files with 7 additions and 7 deletions
|
@ -139,7 +139,7 @@ const copyTemplate = async (config, choices) => {
|
|||
if (!dirs[to]) await ensureDir(to)
|
||||
// Template out file
|
||||
const src = await readFile(from, 'utf-8')
|
||||
promises.push(writeFile(to, mustache.render(src, { name: choices.name })))
|
||||
promises.push(writeFile(to, mustache.render(src, { name: choices.name, tag: config.tag })))
|
||||
}
|
||||
|
||||
await Promise.all(promises)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue