From e969cd78ecd2f91b644dbcb2c4645a52e858d78d Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Mon, 7 Jan 2019 15:49:10 +0000 Subject: [PATCH] fix(cli): Ensure apiKey option is parsed as a string If the apiKey was entirely numbers (possible, but improbable with a 32 byte hex string) then it would be incorrectly parsed the arg parser as an integer and fail validation. --- cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.js b/cli.js index 8f423a4..2b748ac 100755 --- a/cli.js +++ b/cli.js @@ -58,6 +58,7 @@ const cli = meow(` }, string: [ 'app-version', + 'api-key', ], boolean: [ 'overwrite',