Skip to content

Commit 3646100

Browse files
author
exe.dev user
committed
fix(lint): ignore extensions for type-aware oxlint
1 parent a7147a2 commit 3646100

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"assets/",
2525
"dist/",
2626
"docs/_layouts/",
27+
"extensions/",
2728
"node_modules/",
2829
"patches/",
2930
"pnpm-lock.yaml/",

src/agents/auth-profiles/oauth.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ async function tryResolveOAuthProfile(params: {
143143
profileId,
144144
agentDir: params.agentDir,
145145
});
146-
if (!refreshed) return null;
146+
if (!refreshed) {
147+
return null;
148+
}
147149
return {
148150
apiKey: refreshed.apiKey,
149151
provider: cred.provider,

0 commit comments

Comments
 (0)