Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit cdb9dcb

Browse files
committed
listcommands update - default page is 1
Default page is 1.
1 parent dae9479 commit cdb9dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ return function ( args ) {
263263
partitioned = partition( commands, maxSize ),
264264

265265
valid = /^(\d+|$)/.test( args.content ),
266-
page = (Number( args.content ) - 1) || 0;
266+
page = (Number( args.content ) - 1) || 1;
267267

268268
if ( page >= partitioned.length || !valid ) {
269269
return args.codify( [

0 commit comments

Comments
 (0)