Fix error
trolbot_1 | ReferenceError: path is not defined
This commit is contained in:
parent
113c772d3d
commit
2831690855
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
const { createCanvas, loadImage } = require("canvas");
|
const { createCanvas, loadImage } = require("canvas");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
const path = require(`path`);
|
||||||
|
|
||||||
const tempDir = "./temp";
|
const tempDir = "./temp";
|
||||||
const imagesDir = "./images";
|
const imagesDir = "./images";
|
||||||
|
|
Reference in a new issue