File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => {
5353 charset : "a-z,2-7" ,
5454 len : 20 ,
5555 } ,
56- pattern : '^[^\\n"]*$' ,
56+ pattern : "^[a-zA-Z0-9_]+$" ,
5757 "pattern-description" :
58- "Must not contain newline or quote characters ." ,
58+ "Must be alphanumeric (can contain underscore) ." ,
5959 copyable : true ,
6060 masked : true ,
6161 } ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const migration: T.ExpectedExports.migration =
5959 config . advanced . peers . addnode = (
6060 config . advanced . peers . addnode as unknown [ ]
6161 )
62- . map ( ( node ) => {
62+ . map ( ( node : any ) => {
6363 if ( typeof node === "string" ) {
6464 return { hostname : node , port : null } ;
6565 } else if (
You can’t perform that action at this time.
0 commit comments