We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cb4ef commit 3006675Copy full SHA for 3006675
bin/helpers/constants.js
@@ -231,9 +231,9 @@ const LATEST_VERSION_SYNTAX_REGEX = /\d*.latest(.\d*)?/gm
231
232
const AUTH_REGEX = /"auth" *: *{[\s\S]*?}/g
233
234
-const CLI_ARGS_REGEX = /(?<=("u"|"username"|"k"|"key"):)"[^,]*/g
+const CLI_ARGS_REGEX = /(?<=("u"|"username"|"k"|"key") *: *)"[^,|}]*/g
235
236
-const RAW_ARGS_REGEX = /(?<=("-u"|"-username"|"-k"|"-key"),)"[^,\]]*/g
+const RAW_ARGS_REGEX = /(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g
237
238
const ERROR_EXIT_CODE = 1;
239
0 commit comments