Skip to content

Commit

Permalink
continuedQueryGen: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Nov 8, 2020
1 parent 1661c59 commit d9502fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,9 @@ class mwn {
response = await this.request(merge(query, response.continue));
yield response;
}
else {
break;
}
}
}
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mwn",
"version": "0.8.1",
"version": "0.8.2",
"description": "MediaWiki bot framework for Node.js",
"main": "./build/bot.js",
"types": "./build/bot.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1756,6 +1756,8 @@ export class mwn {
if (response.continue) {
response = await this.request(merge(query, response.continue));
yield response;
} else {
break;
}
}
}
Expand Down

0 comments on commit d9502fa

Please sign in to comment.