Skip to content

Commit

Permalink
adjust init demo proj shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberCookie committed Sep 2, 2024
1 parent b5e1204 commit a359d16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/init_project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ function main(isGlobal?: boolean) {
writeFileSync(INIT_PATHS.userTSGlobal, `import '${pathToSiegelGlobalTs}'`)

// Copy Eslint jsons
shell(`cp ${ PATHS.packageRoot }/{${ LOC_NAMES.ESLINT_JSON },${ LOC_NAMES.TS_ESLINT_JSON }} .`)
// shell(`cp ${ PATHS.packageRoot }/{${ LOC_NAMES.ESLINT_JSON },${ LOC_NAMES.TS_ESLINT_JSON }} .`)

// Render doesn't support cp syntax above
shell(`cp ${ PATHS.packageRoot }/${ LOC_NAMES.ESLINT_JSON } .`)
shell(`cp ${ PATHS.packageRoot }/{${ LOC_NAMES.TS_ESLINT_JSON } .`)
}


Expand Down

0 comments on commit a359d16

Please sign in to comment.