fix: change file path for sern/extras (#109)

Co-authored-by: gary <gary@mini-hoster.thetechgurus.xyz>
This commit is contained in:
Gary
2023-08-06 10:07:35 -05:00
committed by GitHub
parent 14df4a9b65
commit 2348e3e9ab

View File

@@ -2,8 +2,9 @@ import { mkdir, readFile, writeFile } from 'fs/promises';
import { dirname, resolve } from 'node:path'; import { dirname, resolve } from 'node:path';
import { fileURLToPath, URL } from 'url'; import { fileURLToPath, URL } from 'url';
const root = new URL('../../', import.meta.url); const root = new URL('../../', import.meta.url);
const sern = new URL('./@sern/', root);
const templates = new URL('./templates/', root); const cli = new URL('./cli/', sern);
const templates = new URL('./templates/', cli);
const extraURL = new URL('./extra/', templates); const extraURL = new URL('./extra/', templates);
const extraFolder = fileURLToPath(extraURL); const extraFolder = fileURLToPath(extraURL);