Skip to content

Commit 3785b12

Browse files
committed
prettier
1 parent eb7f197 commit 3785b12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/copy-to-llm.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@
107107
try {
108108
const response = await fetch(url, { credentials: 'omit' });
109109
if (!response.ok) {
110-
return response.status === 404 ? { success: false, status: 404 } : { success: false, status: response.status };
110+
return response.status === 404
111+
? { success: false, status: 404 }
112+
: { success: false, status: response.status };
111113
}
112114
const blob = await response.blob();
113115
const objectUrl = URL.createObjectURL(blob);

0 commit comments

Comments
 (0)