Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/55880b9558bdb181b1cd8298842aa37bb467fcc6
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
17 additions and
13 deletions
@ -179,19 +179,7 @@ function doSetup() {
} ;
// Schema for confirm prompt. User must enter 'y' or 'n' (case-insensitive)
const confirmSchema = {
properties : {
confirm : {
description : '\nIs the above information correct? (y/n)' ,
type : 'string' ,
pattern : /^[y|n]/gim ,
message : 'Must respond with either \'y\' or \'n\'' ,
default : 'y' ,
required : false ,
before : ( value ) => value . toLowerCase ( ) . startsWith ( 'y' )
}
}
} ;
const confirmSchema = getConfirmSchema ( '\nIs the above information correct? (y/n)' ) ;
log . blank ( ) . blank ( ) . blank ( ) . blank ( )
. info ( '<<< ass setup >>>' ) . blank ( ) ;
@ -247,6 +235,22 @@ function doSetup() {
. catch ( ( err ) => log . blank ( ) . error ( err ) ) ;
}
function getConfirmSchema ( description ) {
return {
properties : {
confirm : {
description ,
type : 'string' ,
pattern : /^[y|n]/gim ,
message : 'Must respond with either \'y\' or \'n\'' ,
default : 'y' ,
required : false ,
before : ( value ) => value . toLowerCase ( ) . startsWith ( 'y' )
}
}
} ;
}
module . exports = {
doSetup ,
config