lint fix
This commit is contained in:
parent
cb0a14172f
commit
3561dcc10e
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue