From c190d90e0f54b5e78269d0f4e345b21cafbc206f Mon Sep 17 00:00:00 2001 From: ycxom Date: Tue, 31 Dec 2024 15:22:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(ToDoimg):=20=E6=B7=BB=E5=8A=A0=20fs=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=BB=A5=E6=94=AF=E6=8C=81=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/ToDoimg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/ToDoimg.js b/utils/ToDoimg.js index cb65702..0d917f0 100644 --- a/utils/ToDoimg.js +++ b/utils/ToDoimg.js @@ -1,3 +1,4 @@ +import fs from "fs"; import pathModule from 'path'; import { fileTypeFromBuffer } from 'file-type'; import moment from 'moment';