Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const allStudents = fs.readFile('./students.txt', 'utf-8', function (error, data) {
const studentsArray = data.split(';');
var pic = contrib.picture(
{ file: './goodmorning.png'
, cols: 25
, onReady: (ready)})
function ready() {screen.render()}
studentsArray.forEach(student => {
console.log(`Good morning ${student}`)
});
})
}