File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ export const addProfile = (configstore) =>
5151 name : "startUrl" ,
5252 message : "Your SSO start URL (e.g. https://<your-alias>.awsapps.com/start):" ,
5353 validate : ( value ) => {
54- return value . match ( / ^ h t t p s ? : \/ \/ \w + \. a w s a p p s .c o m \/ s t a r t $ / g) ? true : "Invalid start URL." ;
54+ return value . match ( / ^ h t t p s ? : \/ \/ [ \w . \- ] + \. a w s a p p s .c o m \/ s t a r t $ / g)
55+ ? true
56+ : "Invalid start URL." ;
5557 } ,
5658 } ,
5759 ] ) . then ( ( { profileName, region, startUrl } ) => {
Original file line number Diff line number Diff line change 11{
22 "name" : " aws-sso-cli" ,
3- "version" : " 0.5.1 " ,
3+ "version" : " 0.5.2 " ,
44 "description" : " A tool for easily switching between different AWS SSO accounts." ,
55 "main" : " index.js" ,
66 "author" : " eeno" ,
You can’t perform that action at this time.
0 commit comments