From 760b4be2551599d180ef6c7dc5846861bf1f189e Mon Sep 17 00:00:00 2001 From: Cherrie Chang Date: Wed, 15 Jan 2025 11:14:47 -0500 Subject: [PATCH] fix templates folder path --- packages/new-plugin/src/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/new-plugin/src/cli.js b/packages/new-plugin/src/cli.js index d7039a3..34a80e1 100755 --- a/packages/new-plugin/src/cli.js +++ b/packages/new-plugin/src/cli.js @@ -137,7 +137,7 @@ async function processAnswers(answers) { } })() - const templatesDir = path.resolve(__dirname, '../../../templates'); + const templatesDir = path.resolve(__dirname, '../templates'); function processTemplate() { return src(`${templatesDir}/plugin-template-${answers.language}/**/*`)