Skip to content

Commit

Permalink
fix limit bug (#56)
Browse files Browse the repository at this point in the history
* fix limit bug

* update limit yargs config

* Update src/commands/shared.js

Co-Authored-By: jkerr321 <jennifer.kerr@ft.com>

* Update src/commands/shared.js

Co-Authored-By: jkerr321 <jennifer.kerr@ft.com>
  • Loading branch information
jkerr321 committed Feb 25, 2019
1 parent cd5300e commit 6f126fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/commands/shared.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const withLimit = yargs => {
return yargs.option('token', {
required: true,
type: 'string',
describe:
'GitHub personal access token. Generate one from https://github.com/settings/tokens'
return yargs.option('limit', {
type: 'number',
describe: 'Limit the number of repositories to search for'
});
};

Expand Down

0 comments on commit 6f126fc

Please sign in to comment.