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 {