1
0
Fork 0
This commit is contained in:
Enoch Riese 2022-11-29 20:07:06 -06:00
parent cb0a14172f
commit 3561dcc10e

View file

@ -322,13 +322,13 @@ const showTips = (config, choices) => {
// Creates the environment based on the user's choices
export const createEnvironment = async (choices) => {
// Store directories for re-use
;(config.cwd = cwd),
(config.source = {
root: cwd,
templateData: cwd + `/../templates/from-${choices.template}.mjs`,
templates: join(cwd, `/../templates/shared`),
shared: cwd + `/../shared`,
})
config.cwd = cwd
config.source = {
root: cwd,
templateData: cwd + `/../templates/from-${choices.template}.mjs`,
templates: join(cwd, `/../templates/shared`),
shared: cwd + `/../shared`,
}
config.dest = join(process.cwd(), choices.name)
// Create target directory