Skip to content

Commit adc6c24

Browse files
sethconvexclaude
andcommitted
Fix lint errors: floating promises in upload, ignore next-example in eslint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bfcb3fc commit adc6c24

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default [
99
ignores: [
1010
"dist/**",
1111
"example/dist/**",
12+
"next-example/**",
1213
"*.config.{js,mjs,cjs,ts,tsx}",
1314
"example/**/*.config.{js,mjs,cjs,ts,tsx}",
1415
"**/_generated/",

src/cli/upload.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Examples:
124124
// Global flag for production mode
125125
let useProd = true;
126126

127-
function convexRun(
127+
function _convexRun(
128128
functionPath: string,
129129
args: Record<string, unknown> = {},
130130
): string {
@@ -272,7 +272,7 @@ async function uploadWithConcurrency(
272272

273273
// Fill initial pool
274274
for (let i = 0; i < concurrency && i < total; i++) {
275-
enqueue();
275+
void enqueue();
276276
}
277277

278278
// Process remaining files as slots open
@@ -283,7 +283,7 @@ async function uploadWithConcurrency(
283283
await Promise.allSettled(pending);
284284
throw new Error("Upload failed");
285285
}
286-
enqueue();
286+
void enqueue();
287287
}
288288
}
289289

0 commit comments

Comments
 (0)