Skip to content

Commit

Permalink
Accept skip as alias of offset
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeo committed Jun 26, 2019
1 parent 32e6b66 commit 9b52de3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ module.exports = function(app, options) {

if (ctx.args.filter.offset)
offset = ctx.args.filter.offset;
else if (ctx.args.filter.skip)
offset = ctx.args.filter.skip;
else
ctx.args.filter.offset = offset;

Expand Down

0 comments on commit 9b52de3

Please sign in to comment.