Skip to content

Commit c50c525

Browse files
committed
chore: some returns bool
1 parent 4c3f6f1 commit c50c525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/js/background/backend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2309,7 +2309,7 @@ class Backend {
23092309
const offscreenUrl = chrome.runtime.getURL('offscreen.html');
23102310
if (!chrome.runtime.getContexts) { // chrome version <116
23112311
const matchedClients = await clients.matchAll();
2312-
return !!(await matchedClients.some((client) => client.url === offscreenUrl));
2312+
return await matchedClients.some((client) => client.url === offscreenUrl);
23132313
}
23142314

23152315
const contexts = await chrome.runtime.getContexts({

0 commit comments

Comments
 (0)