Skip to content

Commit

Permalink
Merge pull request #7 from tdeo/skip_alias
Browse files Browse the repository at this point in the history
Accept skip as alias of offset
  • Loading branch information
darthwesker authored Jul 1, 2019
2 parents 32e6b66 + 9b52de3 commit 1694578
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 1694578

Please sign in to comment.