fix: clean lint issues

This commit is contained in:
Peter Steinberger committed 2026-01-08 11:07:11 +00:00
1 parent 63bad210c9
commit 959a19d8ae
3 files changed
+4 -9

No files matched your search

+1 -5
View File
@@ -57,11 +57,7 @@ const isGetUpdatesConflict = (err: unknown) => {
};
const errorCode = typed.error_code ?? typed.errorCode;
if (errorCode !== 409) return false;
const haystack = [
typed.method,
typed.description,
typed.message,
]
const haystack = [typed.method, typed.description, typed.message]
.filter((value): value is string => typeof value === "string")
.join(" ")
.toLowerCase();