Skip to content

Commit

Permalink
fix templates dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Jul 7, 2024
1 parent de256c7 commit c5975c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/create-extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const prettyLog = {
const ncpPromise = promisify(ncp);

const currentFileUrl = import.meta.url;
const templateDirectory = path.resolve(decodeURI(fileURLToPath(currentFileUrl)), "../../templates");
const templateDirectory = path.resolve(decodeURI(fileURLToPath(currentFileUrl)), "../../../templates");

const getProjectPath = (rawArgs: string[]) => {
const args = arg({}, { argv: rawArgs.slice(2) });
Expand Down

0 comments on commit c5975c9

Please sign in to comment.