mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
fix: change file path for sern/extras (#109)
Co-authored-by: gary <gary@mini-hoster.thetechgurus.xyz>
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user