fix: rm log error

This commit is contained in:
手瓜一十雪
2024-08-11 17:53:15 +08:00
parent 412b8473fe
commit 32c3aa7979
6 changed files with 7 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ try {
// 验证 targetVersion 格式
if (!targetVersion || typeof targetVersion !== 'string') {
console.error("[NapCat] [CheckVersion] 目标版本格式不正确或未设置!");
console.log("[NapCat] [CheckVersion] 目标版本格式不正确或未设置!");
return;
}
@@ -38,5 +38,5 @@ try {
writeScriptToFile(safeScriptContent);
}
} catch (error) {
console.error("[NapCat] [CheckVersion] 检测过程中发生错误:", error);
console.log("[NapCat] [CheckVersion] 检测过程中发生错误:", error);
}