diff --git a/create-farc/create.ts b/create-farc/create.ts index 91cadc83..6c82437d 100644 --- a/create-farc/create.ts +++ b/create-farc/create.ts @@ -39,7 +39,7 @@ export async function create(params: CreateParameters) { const templateDir = resolve( import.meta.dirname, - `../../templates/${templateName}`, + `../templates/${templateName}`, ) const gitignore = fs diff --git a/create-farc/utils/getTemplates.ts b/create-farc/utils/getTemplates.ts index 2220599f..5f3f48b2 100644 --- a/create-farc/utils/getTemplates.ts +++ b/create-farc/utils/getTemplates.ts @@ -2,5 +2,5 @@ import { resolve } from 'node:path' import { default as fs } from 'fs-extra' export function getTemplates() { - return fs.readdirSync(resolve(import.meta.dirname, '../../../templates')) + return fs.readdirSync(resolve(import.meta.dirname, '../../templates')) }