patch eslint rules

This commit is contained in:
undefined committed 2026-03-30 20:02:19 +08:00
1 parent 403a762da1
commit 642662f505
15 files changed
+24 -19

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ class AccountService {
if (langConfig.validAs?.[this.account.type]) task.lang = langConfig.validAs[this.account.type];
const comment = langConfig.comment;
if (comment && !this.Provider.noComment) {
const msg = `Hydro submission #${task.rid}@${new Date().getTime()}`;
const msg = `Hydro submission #${task.rid}@${Date.now()}`;
if (typeof comment === 'string') task.code = `${comment} ${msg}\n${task.code}`;
else if (comment instanceof Array) task.code = `${comment[0]} ${msg} ${comment[1]}\n${task.code}`;
}