Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sansth1010 committed Jun 4, 2024
1 parent ec5ca74 commit 26aa585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class HubApiModel {
stream.pipe(destination, { end: false });
stream.on('end', resolve);
stream.on('error', (err) => {
destination.emit('error', err)
destination.emit('error', err);
});
});
}
Expand Down
4 changes: 1 addition & 3 deletions src/paging-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export class PagingStream extends Readable {

async _read() {
try {
let response: any;

response = await this._loadPage(this._nextPageParams);
const response = await this._loadPage(this._nextPageParams);
this._currPage++;

this._nextPageParams = this._getNextPageParams(response);
Expand Down

0 comments on commit 26aa585

Please sign in to comment.