[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-08-31 16:33:47 +00:00
committed by Shuvo
parent dada3049a8
commit 714bf03244
2 changed files with 9 additions and 3 deletions
@@ -64,7 +64,9 @@ export function TerminalLine({ log, noTimestamp, searchTerm }: LogLineProps) {
const tooltip = (color: string, timestamp: string | null) => {
const square = (
<div className={cn("w-2 min-h-4 h-full flex-shrink-0 rounded-[3px]", color)} />
<div
className={cn("w-2 min-h-4 h-full flex-shrink-0 rounded-[3px]", color)}
/>
);
return timestamp ? (
<TooltipProvider delayDuration={0} disableHoverableContent>
+6 -2
View File
@@ -32,13 +32,17 @@ import { and, eq } from "drizzle-orm";
.set({
password: randomPassword.hashedPassword,
})
.where(and(eq(account.userId, userId), eq(account.providerId, "credential")));
.where(
and(eq(account.userId, userId), eq(account.providerId, "credential")),
);
if (update.count > 0) {
console.log("Password reset successful");
console.log("New password: ", randomPassword.randomPassword);
} else {
console.log("Password reset failed: no credential account found for this user");
console.log(
"Password reset failed: no credential account found for this user",
);
process.exit(1);
}