Skip to content

Commit 964a8ec

Browse files
committed
Fix comment
1 parent 656ebbd commit 964a8ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ export class Codecov {
289289
}
290290

291291
async canOpenConsentTab(): Promise<Boolean> {
292-
// Returns whether the consent tab was opened this session. Resolves the
293-
// case where two consent tabs are opened simultaneously.
292+
// Returns false if the consent tab has been opened in the last two seconds.
293+
// Resolves the case where two consent tabs are opened simultaneously.
294294
const locked = await browser.storage.local
295295
.get([consentTabLock])
296296
.then((res) => res[consentTabLock]);

0 commit comments

Comments
 (0)