app.js
//* Function to write array information to HTML templates when no more team members are added to the application. Uses Async Await function formatting to ensure that the write file is done after the rendering of the HTML from the array is completed.
Function to write array information to HTML templates when no more team members are added to the application. Uses Async Await function formatting to ensure that the write file is done after the rendering of the HTML from the array is completed.
Function to write array information to HTML templates when no more team members are added to the application . Uses Async Await function formatting to ensure that the write file is done after the rendering of the HTML from the array is completed .
async function renderHTML(file) {
	const htmlProfilePage = render(file);
	await writeFileAsync(outputPath, htmlProfilePage).then(function () {
		log.green(`
        ----------------------------------------------------------------
        ---------------------Team Profile Completed---------------------
        ----------------------------------------------------------------
        `);
	});
}
async function renderHTML ( file ) { const htmlProfilePage = render ( file ) ; await writeFileAsync ( outputPath , htmlProfilePage ) . then ( function ( ) { log . green ( ` ` ) ; } ) ; }
Function to write array information to HTML templates when no more team members are added to the application.
Function to write array information to HTML templates when no more team members are added to the application .