Skip to content

Commit 034cd9f

Browse files
ofershapcursoragent
andcommitted
fix: resolve no-useless-assignment lint error in cursor-client
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f53299c commit 034cd9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/cursor-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class CursorClient {
127127
cycleStart: string;
128128
}> {
129129
const allMembers: MemberSpend[] = [];
130-
let cycleStart = "";
130+
let cycleStart: string | undefined;
131131
let page = 1;
132132

133133
while (true) {
@@ -144,7 +144,7 @@ export class CursorClient {
144144
page++;
145145
}
146146

147-
return { members: allMembers, cycleStart };
147+
return { members: allMembers, cycleStart: cycleStart ?? "" };
148148
}
149149

150150
async getUsageEvents(

0 commit comments

Comments
 (0)