Fix error

trolbot_1  | ReferenceError: path is not defined
This commit is contained in:
Julia 2021-09-05 20:07:28 +02:00 committed by GitHub
parent 113c772d3d
commit 2831690855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";