This commit is contained in:
SrGooglo 2023-07-20 13:40:55 +00:00
parent 7fb137c5f8
commit 5646510a22

View File

@ -85,7 +85,7 @@ export default class API {
global.uploadCachePath = process.env.uploadCachePath ?? path.resolve(process.cwd(), "cache")
if (!fs.existSync(global.uploadCachePath)) {
if (!fs.existsSync(global.uploadCachePath)) {
fs.mkdirSync(global.uploadCachePath, {
recursive: true,
})