async function init()

in azure-pipelines-wrapper/env_init.js [11:19]


async function init(app){
    output = ''
    try{
        output = execFileSync('bash', ['-c', 'site/wwwroot/env_init.sh 2>&1 | while IFS= read -r line; do echo [$(date +%FT%TZ)] $line >> env_init.stderr; done;' ], { encoding: 'utf-8' })
        app.log.info('[ INIT ] Succeeded!!!')
    } catch(e){
        app.log.error(`[ INIT ] Failed!!! ${output}`)
    }
}