From 6606b498670b18153de54c437d884d547cdfad4b Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 19 Apr 2024 06:27:02 +0800 Subject: [PATCH] bug fix for wrong function define --- lib/common.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.mjs b/lib/common.mjs index dc5809a..1449d68 100644 --- a/lib/common.mjs +++ b/lib/common.mjs @@ -91,7 +91,7 @@ export default { } //保存log到指定文件 - async saveLog(filePath, content) { + saveLog: async function(filePath, content) { let saved = false; try {