Skip to content

Commit 6b6b49b

Browse files
committed
fix cli args regex
1 parent 3006675 commit 6b6b49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ const LATEST_VERSION_SYNTAX_REGEX = /\d*.latest(.\d*)?/gm
231231

232232
const AUTH_REGEX = /"auth" *: *{[\s\S]*?}/g
233233

234-
const CLI_ARGS_REGEX = /(?<=("u"|"username"|"k"|"key") *: *)"[^,|}]*/g
234+
const CLI_ARGS_REGEX = /(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g
235235

236236
const RAW_ARGS_REGEX = /(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g
237237

0 commit comments

Comments
 (0)