Skip to content

Commit

Permalink
use __dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
beam41 committed Jul 1, 2024
1 parent 2236f58 commit 761fdf8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const { unlink, writeFile } = require("fs");
const Color = require("color");
const fetch = require("node-fetch");

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

console.log(__dirname);

const notoFont = loadSync(
Expand Down

0 comments on commit 761fdf8

Please sign in to comment.