Skip to content

Commit acafeb4

Browse files
committed
wip
1 parent bdae852 commit acafeb4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/cursor/run_command_cursor.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,7 @@ export class RunCommandCursor {
198198

199199
const result = await this.asyncIterator.next();
200200

201-
if (result.done) {
202-
return null;
203-
}
204-
205-
return result.value;
201+
return result.done ? null : result.value;
206202
}
207203

208204
async toArray() {

0 commit comments

Comments
 (0)