mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:28:27 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -118,7 +118,9 @@ describe("web media loading", () => {
|
||||
if (name === "content-disposition") {
|
||||
return 'attachment; filename="report.pdf"';
|
||||
}
|
||||
if (name === "content-type") return "application/pdf";
|
||||
if (name === "content-type") {
|
||||
return "application/pdf";
|
||||
}
|
||||
return null;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user