Spaces:
Running
Running
Update lib/convertFormat.js
Browse files- lib/convertFormat.js +1 -1
lib/convertFormat.js
CHANGED
@@ -4,7 +4,7 @@ const fs = require("fs");
|
|
4 |
const FileType = require('file-type');
|
5 |
const { exec } = require("child_process");
|
6 |
|
7 |
-
if (!fs.existsSync("./tmp")) fs.mkdirSync("./tmp");
|
8 |
|
9 |
function imageToWebp(bufferImage) {
|
10 |
return new Promise((resolve, reject) => {
|
|
|
4 |
const FileType = require('file-type');
|
5 |
const { exec } = require("child_process");
|
6 |
|
7 |
+
//if (!fs.existsSync("./tmp")) fs.mkdirSync("./tmp");
|
8 |
|
9 |
function imageToWebp(bufferImage) {
|
10 |
return new Promise((resolve, reject) => {
|