From 2348e3e9ab055fddab3f44d574af79fd7ccd4485 Mon Sep 17 00:00:00 2001 From: Gary Date: Sun, 6 Aug 2023 10:07:35 -0500 Subject: [PATCH] fix: change file path for sern/extras (#109) Co-authored-by: gary --- src/utilities/create.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utilities/create.ts b/src/utilities/create.ts index 7172101..0550330 100644 --- a/src/utilities/create.ts +++ b/src/utilities/create.ts @@ -2,8 +2,9 @@ import { mkdir, readFile, writeFile } from 'fs/promises'; import { dirname, resolve } from 'node:path'; import { fileURLToPath, URL } from 'url'; const root = new URL('../../', import.meta.url); - -const templates = new URL('./templates/', root); +const sern = new URL('./@sern/', root); +const cli = new URL('./cli/', sern); +const templates = new URL('./templates/', cli); const extraURL = new URL('./extra/', templates); const extraFolder = fileURLToPath(extraURL);