Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dkingofcode committed Apr 28, 2023
1 parent dadb35d commit 564f2b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ export let downloadTemplateKit = async (options) => {
new URL(currentFileUrl).pathname.indexOf("/") + 1
);


const templateDir = path.resolve(newUrl, '../../templates', options.template.toLowerCase());

options.templateDirectory = templateDir;


try {
await access(templateDir, fs.constants.R_OK).then(_ => {
/* rename name option in package.json same as project/folder name */
Expand Down

0 comments on commit 564f2b3

Please sign in to comment.