From 6f126fcaded38aced870cf72e988808eca16e2db Mon Sep 17 00:00:00 2001 From: Jennifer Johnson Date: Mon, 25 Feb 2019 14:31:43 +0000 Subject: [PATCH] fix limit bug (#56) * fix limit bug * update limit yargs config * Update src/commands/shared.js Co-Authored-By: jkerr321 * Update src/commands/shared.js Co-Authored-By: jkerr321 --- src/commands/shared.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/commands/shared.js b/src/commands/shared.js index 340a0c9..7fc567f 100644 --- a/src/commands/shared.js +++ b/src/commands/shared.js @@ -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' }); };