Fix some lint

This commit is contained in:
Gregory Schier
2026-03-13 07:36:26 -07:00
parent 7f4eedd630
commit e4103f1a4a
13 changed files with 18 additions and 17 deletions

View File

@@ -148,7 +148,7 @@ async function getCodeViaEmbeddedBrowser(
const authorizationUrlStr = authorizationUrl.toString();
console.log('[oauth2] Authorizing via embedded browser', authorizationUrlStr);
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: Required for this pattern
// oxlint-disable-next-line no-async-promise-executor -- Required for this pattern
return new Promise<string>(async (resolve, reject) => {
let foundCode = false;
const { close } = await ctx.window.openUrl({

View File

@@ -105,7 +105,7 @@ async function getTokenViaEmbeddedBrowser(
const authorizationUrlStr = authorizationUrl.toString();
console.log('[oauth2] Authorizing via embedded browser (implicit)', authorizationUrlStr);
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: Required for this pattern
// oxlint-disable-next-line no-async-promise-executor -- Required for this pattern
return new Promise<AccessToken>(async (resolve, reject) => {
let foundAccessToken = false;
const { close } = await ctx.window.openUrl({