function onOutputError(err) {
    if (err.code === 'EACCES') {
        console.error(err.path + " is not writable. Skipping!");
    } else {
        console.error(err);
        process.exit(0);
    }
}
function onOutputError(err) {
    if (err.code === 'EACCES') {
        console.error(err.path + " is not writable. Skipping!");
    } else {
        console.error(err);
        process.exit(0);
    }
}
function onOutputError ( err ) { if ( err . code === 'EACCES' ) { console . error ( err . path + " is not writable. Skipping!" ) ; } else { console . error ( err ) ; process . exit ( 0 ) ; } }
error handler for output stream that swallows errors silently, allowing the loop to continue over unwritable files.
error handler for output stream that swallows errors silently allowing the loop to continue over unwritable files .