Skip to content

Commit 9b5b2d0

Browse files
committed
Fix __dirname
1 parent aa293cf commit 9b5b2d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/commands/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import fse from "fs-extra";
33
import path from "node:path";
44
import { ending, frontmatter, preamble } from "../latexContent.js";
55

6+
const __dirname = path.resolve(import.meta.dirname);
7+
68
export const createMain = (
79
inputDir: string,
810
outputDir: string,

0 commit comments

Comments
 (0)