Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Feb 25, 2025
1 parent 77b9869 commit de4aa96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Source/Function/Document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default (async (...[File, Option]) => {
`--gitRevision ${__Error ? "main" : Branch}`,
`--gitRemote ${_Error ? "origin" : Remote}`,
"--commentStyle all",
`--customCss ${(await import("path")).resolve(
`--customCss ${(await import("node:path")).resolve(
`${Current}/../../Stylesheet/Theme.css`,
)}`,
"--includeVersion",
Expand Down Expand Up @@ -59,10 +59,10 @@ export default (async (...[File, Option]) => {

export const { default: Exec } = await import("@Function/Exec.js");

export const { resolve } = await import("path");
export const { resolve } = await import("node:path");

export const Pipe: string[] = [];

export const Current = (await import("url")).fileURLToPath(
(await import("path")).dirname(import.meta.url),
(await import("node:path")).dirname(import.meta.url),
);
2 changes: 1 addition & 1 deletion Source/Function/JSON.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default (async (...[File, From]) =>
JSON.parse(
(
await (
await import("fs/promises")
await import("node:fs/promises")
).readFile(`${From ?? "."}/${File}`, "utf-8")
).toString(),
)) satisfies Interface as Interface;

0 comments on commit de4aa96

Please sign in to comment.